source: trunk/libs/newlib/src/newlib/libm/mathfp/s_mathcnst.c @ 543

Last change on this file since 543 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 694 bytes
Line 
1/* @(#)z_mathcnst.c 1.0 98/08/13 */
2
3#include "zmath.h"
4#include "fdlibm.h"
5
6double BIGX = 7.09782712893383973096e+02;
7double SMALLX = -7.45133219101941108420e+02;
8double z_rooteps = 7.4505859692e-9;
9float  z_rooteps_f = 1.7263349182589107e-4;
10
11ufloat z_hugeval_f  = { 0x7f800000 };
12ufloat z_infinity_f = { 0x7f800000 };
13ufloat z_notanum_f  = { 0xffd00000 };
14
15#ifdef __IEEE_BIG_ENDIAN
16udouble z_hugeval  = { 0x7ff00000, 0 };
17udouble z_infinity = { 0x7ff00000, 0 };
18udouble z_notanum  = { 0xfff80000, 0 };
19#else /* __IEEE_LITTLE_ENDIAN  */
20udouble z_hugeval  = { 0, 0x7ff00000 };
21udouble z_infinity = { 0, 0x7ff00000 };
22udouble z_notanum  = { 0, 0xfff80000 };
23#endif /* __IEEE_LITTLE_ENDIAN */
24
Note: See TracBrowser for help on using the repository browser.