-
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:8 → Kconfig.zephyr:33 → lib/Kconfig:16 → lib/os/Kconfig:73
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.)