mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03: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: https://github.com/SerenityOS/serenity/commit/70737b42b22 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
@ -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…
Reference in New Issue
Block a user