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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libm/] [mathfp/] [s_mathcnst.c] - Blame information for rev 1775

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

Line No. Rev Author Line
1 56 joel
/* @(#)z_mathcnst.c 1.0 98/08/13 */
2
 
3
#include "zmath.h"
4
#include "fdlibm.h"
5
 
6
double BIGX = 7.09782712893383973096e+02;
7
double SMALLX = -7.45133219101941108420e+02;
8
double z_rooteps = 7.4505859692e-9;
9
float  z_rooteps_f = 1.7263349182589107e-4;
10
 
11
ufloat z_hugeval_f  = { 0x7f800000 };
12
ufloat z_infinity_f = { 0x7f800000 };
13
ufloat z_notanum_f  = { 0xffd00000 };
14
 
15
#ifdef ___IEEE_LITTLE_ENDIAN
16
udouble z_hugeval  = { 0x7ff00000, 0 };
17
udouble z_infinity = { 0x7ff00000, 0 };
18
udouble z_notanum  = { 0xfff80000, 0 };
19
#else
20
udouble z_hugeval  = { 0, 0x7ff00000 };
21
udouble z_infinity = { 0, 0x7ff00000 };
22
udouble z_notanum  = { 0, 0xfff80000 };
23
#endif /* ___IEEE_LITTLE_ENDIAN */
24
 

powered by: WebSVN 2.1.0

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