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/] [common/] [s_infconst.c] - Blame information for rev 435

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

Line No. Rev Author Line
1 207 jeremybenn
/* Infinity as a constant value.   This is used for HUGE_VAL.
2
 * Added by Cygnus Support.
3
 */
4
 
5
#include <float.h>
6
#include <math.h>
7
 
8
/* These should never actually be used any longer, as their use in math.h was
9
 * removed, but they are kept here in case a user was pointing to them.
10
 * FIXME:  deprecate these identifiers and then delete them.  */
11
 
12
/* Float version of infinity.  */
13
const union __fmath __infinityf[1] = { { FLT_MAX+FLT_MAX } };
14
 
15
/* Double version of infinity.  */
16
const union __dmath __infinity[1] = { { DBL_MAX+DBL_MAX } };
17
 
18
/* Long double version of infinity.  */
19
#if defined(_HAVE_LONG_DOUBLE)
20
const union __ldmath __infinityld[1] = { { LDBL_MAX+LDBL_MAX } };
21
#endif

powered by: WebSVN 2.1.0

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