Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
#ifndef __HACKED_MATH_INCLUDED
2
#define __HACKED_MATH_INCLUDED
3
 
4
#include_next <math.h>
5
 
6
/* The system definition of HUGE_VAL depends on a compiler 'feature' */
7
#ifdef HUGE_VAL
8
#undef HUGE_VAL
9
const static union {
10
    unsigned long ul [2] ;
11
    double dbl ;
12
} __huge_val = { 0x0, 0x7ff00000 } ;
13
#define HUGE_VAL ( __huge_val.dbl )
14
#endif
15
 
16
#endif