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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libm/] [mathfp/] [s_mathcnst.c] - Diff between revs 207 and 345

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 207 Rev 345
/* @(#)z_mathcnst.c 1.0 98/08/13 */
/* @(#)z_mathcnst.c 1.0 98/08/13 */
 
 
#include "zmath.h"
#include "zmath.h"
#include "fdlibm.h"
#include "fdlibm.h"
 
 
double BIGX = 7.09782712893383973096e+02;
double BIGX = 7.09782712893383973096e+02;
double SMALLX = -7.45133219101941108420e+02;
double SMALLX = -7.45133219101941108420e+02;
double z_rooteps = 7.4505859692e-9;
double z_rooteps = 7.4505859692e-9;
float  z_rooteps_f = 1.7263349182589107e-4;
float  z_rooteps_f = 1.7263349182589107e-4;
 
 
ufloat z_hugeval_f  = { 0x7f800000 };
ufloat z_hugeval_f  = { 0x7f800000 };
ufloat z_infinity_f = { 0x7f800000 };
ufloat z_infinity_f = { 0x7f800000 };
ufloat z_notanum_f  = { 0xffd00000 };
ufloat z_notanum_f  = { 0xffd00000 };
 
 
#ifdef __IEEE_BIG_ENDIAN
#ifdef __IEEE_BIG_ENDIAN
udouble z_hugeval  = { 0x7ff00000, 0 };
udouble z_hugeval  = { 0x7ff00000, 0 };
udouble z_infinity = { 0x7ff00000, 0 };
udouble z_infinity = { 0x7ff00000, 0 };
udouble z_notanum  = { 0xfff80000, 0 };
udouble z_notanum  = { 0xfff80000, 0 };
#else /* __IEEE_LITTLE_ENDIAN  */
#else /* __IEEE_LITTLE_ENDIAN  */
udouble z_hugeval  = { 0, 0x7ff00000 };
udouble z_hugeval  = { 0, 0x7ff00000 };
udouble z_infinity = { 0, 0x7ff00000 };
udouble z_infinity = { 0, 0x7ff00000 };
udouble z_notanum  = { 0, 0xfff80000 };
udouble z_notanum  = { 0, 0xfff80000 };
#endif /* __IEEE_LITTLE_ENDIAN */
#endif /* __IEEE_LITTLE_ENDIAN */
 
 
 
 

powered by: WebSVN 2.1.0

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