1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:37:44 +00:00

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

View file

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