OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [stdlib/] [gd_qnan.h] - Blame information for rev 158

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#ifdef __IEEE_BIG_ENDIAN
2
 
3
#define f_QNAN 0x7fc00000
4
#define d_QNAN0 0x7ff80000
5
#define d_QNAN1 0x0
6
#define ld_QNAN0 0x7ff80000
7
#define ld_QNAN1 0x0
8
#define ld_QNAN2 0x0
9
#define ld_QNAN3 0x0
10
#define ldus_QNAN0 0x7ff8
11
#define ldus_QNAN1 0x0
12
#define ldus_QNAN2 0x0
13
#define ldus_QNAN3 0x0
14
#define ldus_QNAN4 0x0
15
 
16
#elif defined(__IEEE_LITTLE_ENDIAN)
17
 
18
#define f_QNAN 0xffc00000
19
#define d_QNAN0 0x0
20
#define d_QNAN1 0xfff80000
21
#define ld_QNAN0 0x0
22
#define ld_QNAN1 0xc0000000
23
#define ld_QNAN2 0xffff
24
#define ld_QNAN3 0x0
25
#define ldus_QNAN0 0x0
26
#define ldus_QNAN1 0x0
27
#define ldus_QNAN2 0x0
28
#define ldus_QNAN3 0xc000
29
#define ldus_QNAN4 0xffff
30
 
31
#else
32
#error IEEE endian not defined
33
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.