mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
LibM: Define math_errhandling
and associated macros
This commit is contained in:
parent
1e857de263
commit
70737b42b2
1 changed files with 4 additions and 0 deletions
|
@ -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("")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue