CONFIG_ZSL_SINGLE_PRECISION

Use single-precision floats.

Type: bool

Help

Enabling this option will cause all zsl functions to use single
precision (32-bit) floating point values, rather than the default of
double-precision (64-bits).

Direct dependencies

ZSL

(Includes any dependencies from ifs and menus.)

Default

  • n

Kconfig definition

At /home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/zscilib/Kconfig.zscilib:26

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:86

Menu path: (Top) → Modules → zscilib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/zscilib) → Zephyr scientific library support

config ZSL_SINGLE_PRECISION
    bool "Use single-precision floats."
    default n
    depends on ZSL
    help
      Enabling this option will cause all zsl functions to use single
      precision (32-bit) floating point values, rather than the default of
      double-precision (64-bits).

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