This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE

Support packaging of long doubles

Type: bool

Help

Option impact required alignment for buffers used for packaging
(CBPRINTF_PACKAGE_ALIGNMENT). On most platforms long doubles
requires buffer to be 16 bytes aligned. Long doubles are rarely used
so such alignment is an unnecessary waste. If option is disabled,
then compilation fails if long double is used.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At lib/os/Kconfig.cbprintf:119

Included via Kconfig:8Kconfig.zephyr:41lib/Kconfig:10lib/os/Kconfig:81

Menu path: (Top) → Additional libraries → OS Support Library

config CBPRINTF_PACKAGE_LONGDOUBLE
    bool "Support packaging of long doubles"
    help
      Option impact required alignment for buffers used for packaging
      (CBPRINTF_PACKAGE_ALIGNMENT). On most platforms long doubles
      requires buffer to be 16 bytes aligned. Long doubles are rarely used
      so such alignment is an unnecessary waste. If option is disabled,
      then compilation fails if long double is used.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)