No longer places function number in subclass box.
[cake.git] / compiler / mlib / infinity.c
blobdcbd83b324599b0c86163bbcc77153e0571ebaf8
1 /*
2 Copyright © 2002, The AROS Development Team. All rights reserved.
3 $Id$
5 Definition of infinity and NaN.
6 */
8 /* These definitions are used if no architecture-specific version of this file
9 * is available. They assume we're dealing with IEEE 754 floating point. */
11 #include <aros/system.h>
12 #include <math.h>
14 #if AROS_BIG_ENDIAN
15 const union __infinity_un __infinity = { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } };
16 #else
17 const union __infinity_un __infinity = { {0, 0, 0, 0, 0, 0, 0xf0, 0x7f} };
18 #endif
20 #if AROS_BIG_ENDIAN
21 const union __nan_un __nan = { { 0xff, 0xc0, 0, 0 } };
22 #else
23 const union __nan_un __nan = { { 0, 0, 0xc0, 0xff } };
24 #endif