__nan() is not available on Apple M1, replaced by (0.0F/0.0F)
This commit is contained in:
parent
312d28b0a8
commit
d8329c2d19
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@
|
|||
#define __builtin_huge_valf() 1e50f
|
||||
#define __builtin_huge_vall() 1e5000L
|
||||
# if defined __APPLE__
|
||||
#define __builtin_nanf(ignored_string) __nan()
|
||||
#define __builtin_nanf(ignored_string) (0.0F/0.0F)
|
||||
/* used by floats.h to implement FLT_ROUNDS C99 macro. 1 == to nearest */
|
||||
#define __builtin_flt_rounds() 1
|
||||
/* used by _fd_def.h */
|
||||
|
|
Loading…
Reference in a new issue