The latest development version of this page may be more current than this released 2.7.5 version.

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 lib/os/Kconfig.cbprintf:86

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

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.)