Files
clang-p2996/libc/docs/headers/float.rst
Nick Desaulniers c047a5b3f6 [libc][docgen] simplify posix links (#119595)
Usually posix functions have individual doc pages, and each header has its own
list of required macro definitions. Use a simpler key of "in-latest-posix" to
signal that the URL convention can be followed.

Add support for a "removed-in-posix-2008" key which will link to the 2004 docs
for functions like bcmp, bcopy, bzero, index, and rindex from strings.h.

I don't want to add all of these links for pthreads.h, so automating this will
make documenting these go much faster.
2024-12-12 10:49:55 -08:00

228 lines
6.1 KiB
ReStructuredText

.. include:: ../check.rst
=======
float.h
=======
Macros
======
.. list-table::
:widths: auto
:align: center
:header-rows: 1
* - Macro
- Implemented
- C23 Standard Section
- POSIX Docs
* - DBL_DECIMAL_DIG
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_DIG
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_EPSILON
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_HAS_SUBNORM
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_IS_IEC_60559
-
- 5.3.5.3.3
-
* - DBL_MANT_DIG
- |check|
- 5.3.5.3.3
-
* - DBL_MAX
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_MAX_10_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_MAX_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_MIN
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_MIN_10_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_MIN_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DBL_NORM_MAX
-
- 5.3.5.3.3
-
* - DBL_SNAN
-
- 5.3.5.3.3
-
* - DBL_TRUE_MIN
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - DECIMAL_DIG
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_DECIMAL_DIG
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_DIG
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_EPSILON
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_EVAL_METHOD
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_HAS_SUBNORM
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_IS_IEC_60559
-
- 5.3.5.3.3
-
* - FLT_MANT_DIG
- |check|
- 5.3.5.3.3
-
* - FLT_MAX
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_MAX_10_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_MAX_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_MIN
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_MIN_10_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_MIN_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_NORM_MAX
-
- 5.3.5.3.3
-
* - FLT_RADIX
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_ROUNDS
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - FLT_SNAN
-
- 5.3.5.3.3
-
* - FLT_TRUE_MIN
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - INFINITY
-
- 5.3.5.3.3
-
* - LDBL_DECIMAL_DIG
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_DIG
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_EPSILON
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_HAS_SUBNORM
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_IS_IEC_60559
-
- 5.3.5.3.3
-
* - LDBL_MANT_DIG
- |check|
- 5.3.5.3.3
-
* - LDBL_MAX
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_MAX_10_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_MAX_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_MIN
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_MIN_10_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_MIN_EXP
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - LDBL_NORM_MAX
-
- 5.3.5.3.3
-
* - LDBL_SNAN
-
- 5.3.5.3.3
-
* - LDBL_TRUE_MIN
- |check|
- 5.3.5.3.3
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/float.h.html>`__
* - NAN
-
- 5.3.5.3.3
-
* - __STDC_VERSION_FLOAT_H__
-
- 7.7
-