PDR/3.BackUp/PDR-Origin-Version/3rdparty/lwgps-develop/docs/user-manual/float-double.rst

15 lines
516 B
ReStructuredText
Raw Normal View History

2022-09-15 16:35:25 +08:00
.. _float_double:
Float/double precision
======================
With configuration of ``GSM_CFG_DOUBLE``, it is possible to enable ``double`` floating point precision.
All floating point variables are then configured in *double precision*.
When configuration is set to ``0``, floating point variables are configured in *single precision* format.
.. note::
Single precision uses less memory in application. As a drawback, application may be a subject of data loss at latter digits.
.. toctree::
:maxdepth: 2