CONFIG_CBPRINTF_FP_ALWAYS_A

Select %a format for all floating point specifications

Type: bool

Help

The %a format for floats requires significantly less code than the standard decimal representations (%f, %e, %g). Selecting this option implicitly uses %a (or %A) for all decimal floating conversions. The precision of the original specification is ignored.

Selecting this decreases code size when FP_SUPPORT is enabled.

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/lib/os/Kconfig.cbprintf:86

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/lib/Kconfig:16<Zephyr>/lib/os/Kconfig:63

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

config CBPRINTF_FP_ALWAYS_A
    bool "Select %a format for all floating point specifications"
    select CBPRINTF_FP_A_SUPPORT
    help
      The %a format for floats requires significantly less code than the
      standard decimal representations (%f, %e, %g).  Selecting this
      option implicitly uses %a (or %A) for all decimal floating
      conversions.  The precision of the original specification is
      ignored.

      Selecting this decreases code size when FP_SUPPORT is enabled.

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