Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4349 Serge 1
/* Infinity as a constant value.   This is used for HUGE_VAL.
2
 * Added by Cygnus Support.
3
 */
4
 
5
#include 
6
#include 
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