mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 20:16:02 +00:00
LibM: Define math_errhandling
and associated macros
This commit is contained in:
parent
1e857de263
commit
70737b42b2
Notes:
sideshowbarker
2024-07-18 21:36:22 +09:00
Author: https://github.com/RealKC
Commit: 70737b42b2
Pull-request: https://github.com/SerenityOS/serenity/pull/5688
Issue: https://github.com/SerenityOS/serenity/issues/4282
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/BenWiederhake
Reviewed-by: https://github.com/awesomekling
1 changed files with 4 additions and 0 deletions
|
@ -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("")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue