Changeset 27484 for trunk/Ohana/src/libohana/include/ohana.h
- Timestamp:
- Mar 26, 2010, 2:40:25 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libohana/include/ohana.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libohana/include/ohana.h
r27479 r27484 94 94 }; 95 95 96 # ifndef NAN 97 # ifndef BYTE_SWAP 98 # define __nan_bytes { 0x7f, 0xc0, 0, 0 } 99 # else 100 # define __nan_bytes { 0, 0, 0xc0, 0x7f } 101 # endif 102 static union { unsigned char __c[4]; float __d; } __nan_union 103 __attribute_used__ = { __nan_bytes }; 104 # define NAN (__nan_union.__d) 105 # endif 106 96 107 # ifndef M_PI 97 108 # define M_PI 3.14159265358979323846264
Note:
See TracChangeset
for help on using the changeset viewer.
