]>
git.proxmox.com Git - mirror_edk2.git/blob - StdLib/LibC/Math/s_infinity.c
1 /* $NetBSD: s_infinity.c,v 1.5 2003/07/26 19:25:05 salo Exp $ */
4 * Written by J.T. Conklin <jtc@NetBSD.org>.
11 #if defined(_MSC_VER) /* Handle Microsoft VC++ compiler specifics. */
12 // Force 8-byte alignment
13 #define ALIGN8 __declspec(align(8))
15 // C4742: identifier has different alignment in 'X' and 'Y'
16 #pragma warning ( disable : 4742 )
17 // C4744: identifier has different type in 'X' and 'Y'
18 #pragma warning ( disable : 4744 )
23 #if BYTE_ORDER == LITTLE_ENDIAN
24 ALIGN8
char __infinity
[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f };
26 ALIGN8
char __infinity
[] = { 0x7f, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };