History

__nan() is not available on Apple M1, replaced by (0.0F/0.0F)

Christian Jullien committed 3 years ago

Commit d8329c21 parent 312d28b1 file · +1 −1Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/tccdefs.h+1−1
@@ -160,7 +160,7 @@ · 159 unmodified lines
160 #define __builtin_huge_valf() 1e50f160 #define __builtin_huge_valf() 1e50f
161 #define __builtin_huge_vall() 1e5000L161 #define __builtin_huge_vall() 1e5000L
162# if defined __APPLE__162# if defined __APPLE__
163 #define __builtin_nanf(ignored_string) __nan()163 #define __builtin_nanf(ignored_string) (0.0F/0.0F)
164 /* used by floats.h to implement FLT_ROUNDS C99 macro. 1 == to nearest */164 /* used by floats.h to implement FLT_ROUNDS C99 macro. 1 == to nearest */
165 #define __builtin_flt_rounds() 1165 #define __builtin_flt_rounds() 1
166 /* used by _fd_def.h */166 /* used by _fd_def.h */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t