LibM: Define math_errhandling and associated macros

This commit is contained in:
Mițca Dumitru 2021-03-07 17:49:51 +02:00 committed by Andreas Kling
parent 1e857de263
commit 70737b42b2
Notes: sideshowbarker 2024-07-18 21:36:22 +09:00

View File

@ -36,6 +36,10 @@
__BEGIN_DECLS
#define MATH_ERRNO 1
#define MATH_ERREXCEPT 2
#define math_errhandling MATH_ERREXCEPT
#define HUGE_VAL 1e10000
#define INFINITY __builtin_huge_val()
#define NAN __builtin_nan("")