Reduce math library code size by 3.4KB (#21575)
This commit is contained in:
1 parent
1742fb8655
commit
24a095c5c1
35 files changed
+141
-145
No files matched your search
@@ -112,6 +112,9 @@
|
||||
#define SIGN(a) ({__typeof__(a) _a = (a); (_a>0)-(_a<0);})
|
||||
#define IS_POWER_OF_2(x) ((x) && !((x) & ((x) - 1)))
|
||||
|
||||
#define MFNAN 999999.0f
|
||||
#define ISNAN(V) ((V) == MFNAN)
|
||||
|
||||
// Macros to constrain values
|
||||
#ifdef __cplusplus
|
||||
|
||||
|
||||
Reference in new issue
Block a user