2 Copyright © 2002, The AROS Development Team. All rights reserved.
5 Definition of infinity and NaN.
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>
15 const union __infinity_un __infinity
= { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } };
17 const union __infinity_un __infinity
= { {0, 0, 0, 0, 0, 0, 0xf0, 0x7f} };
21 const union __nan_un __nan
= { { 0xff, 0xc0, 0, 0 } };
23 const union __nan_un __nan
= { { 0, 0, 0xc0, 0xff } };