mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-01 09:08:40 +08:00
__nan() is not available on Apple M1, replaced by (0.0F/0.0F)
This commit is contained in:
parent
312d28b0a8
commit
d8329c2d19
@ -160,7 +160,7 @@
|
|||||||
#define __builtin_huge_valf() 1e50f
|
#define __builtin_huge_valf() 1e50f
|
||||||
#define __builtin_huge_vall() 1e5000L
|
#define __builtin_huge_vall() 1e5000L
|
||||||
# if defined __APPLE__
|
# 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 */
|
/* used by floats.h to implement FLT_ROUNDS C99 macro. 1 == to nearest */
|
||||||
#define __builtin_flt_rounds() 1
|
#define __builtin_flt_rounds() 1
|
||||||
/* used by _fd_def.h */
|
/* used by _fd_def.h */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user