mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 12:22:35 +03:00
0a3f4b2193
git-svn-id: svn://kolibrios.org@1693 a494cfbc-eb01-0410-851d-a64ba20cac60
34 lines
712 B
C
34 lines
712 B
C
#ifdef __IEEE_BIG_ENDIAN
|
|
|
|
#define f_QNAN 0x7fc00000
|
|
#define d_QNAN0 0x7ff80000
|
|
#define d_QNAN1 0x0
|
|
#define ld_QNAN0 0x7ff80000
|
|
#define ld_QNAN1 0x0
|
|
#define ld_QNAN2 0x0
|
|
#define ld_QNAN3 0x0
|
|
#define ldus_QNAN0 0x7ff8
|
|
#define ldus_QNAN1 0x0
|
|
#define ldus_QNAN2 0x0
|
|
#define ldus_QNAN3 0x0
|
|
#define ldus_QNAN4 0x0
|
|
|
|
#elif defined(__IEEE_LITTLE_ENDIAN)
|
|
|
|
#define f_QNAN 0xffc00000
|
|
#define d_QNAN0 0x0
|
|
#define d_QNAN1 0xfff80000
|
|
#define ld_QNAN0 0x0
|
|
#define ld_QNAN1 0xc0000000
|
|
#define ld_QNAN2 0xffff
|
|
#define ld_QNAN3 0x0
|
|
#define ldus_QNAN0 0x0
|
|
#define ldus_QNAN1 0x0
|
|
#define ldus_QNAN2 0x0
|
|
#define ldus_QNAN3 0xc000
|
|
#define ldus_QNAN4 0xffff
|
|
|
|
#else
|
|
#error IEEE endian not defined
|
|
#endif
|