Files
clang-p2996/libc/utils/docgen/float.json
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

202 lines
4.4 KiB
JSON

{
"macros": {
"__STDC_VERSION_FLOAT_H__": {
"c-definition": "7.7"
},
"FLT_EVAL_METHOD" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_ROUNDS" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_EVAL_METHOD" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_HAS_SUBNORM" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_HAS_SUBNORM" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_HAS_SUBNORM" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_RADIX" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_MANT_DIG" : {
"c-definition": "5.3.5.3.3"
},
"DBL_MANT_DIG" : {
"c-definition": "5.3.5.3.3"
},
"LDBL_MANT_DIG" : {
"c-definition": "5.3.5.3.3"
},
"FLT_DECIMAL_DIG" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_DECIMAL_DIG" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_DECIMAL_DIG" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DECIMAL_DIG" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_IS_IEC_60559" : {
"c-definition": "5.3.5.3.3"
},
"DBL_IS_IEC_60559" : {
"c-definition": "5.3.5.3.3"
},
"LDBL_IS_IEC_60559" : {
"c-definition": "5.3.5.3.3"
},
"FLT_DIG" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_DIG" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_DIG" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_MIN_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_MIN_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_MIN_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_MIN_10_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_MIN_10_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_MIN_10_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_MAX_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_MAX_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_MAX_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_MAX_10_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_MAX_10_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_MAX_10_EXP" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_MAX" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_MAX" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_MAX" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_NORM_MAX" : {
"c-definition": "5.3.5.3.3"
},
"DBL_NORM_MAX" : {
"c-definition": "5.3.5.3.3"
},
"LDBL_NORM_MAX" : {
"c-definition": "5.3.5.3.3"
},
"FLT_EPSILON" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_EPSILON" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_EPSILON" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_MIN" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_MIN" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_MIN" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"FLT_SNAN" : {
"c-definition": "5.3.5.3.3"
},
"DBL_SNAN" : {
"c-definition": "5.3.5.3.3"
},
"LDBL_SNAN" : {
"c-definition": "5.3.5.3.3"
},
"FLT_TRUE_MIN" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"DBL_TRUE_MIN" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"LDBL_TRUE_MIN" : {
"c-definition": "5.3.5.3.3",
"in-latest-posix": ""
},
"INFINITY" : {
"c-definition": "5.3.5.3.3"
},
"NAN" : {
"c-definition": "5.3.5.3.3"
}
}
}