| Last change
 on this file since 97a6bc was             5d30c1, checked in by Frederik Heber <heber@…>, 13 years ago | 
        
          | 
Initial commit based on 3.0.0alpha (here claimed as 2.4).
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            327 bytes | 
      
      
| Line |  | 
|---|
| 1 |  | 
|---|
| 2 | #ifndef _util_misc_math_h | 
|---|
| 3 | #define _util_misc_math_h | 
|---|
| 4 |  | 
|---|
| 5 | #include <math.h> | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef M_PI | 
|---|
| 8 | #  define M_PI           3.14159265358979323846  /* pi */ | 
|---|
| 9 | #endif | 
|---|
| 10 |  | 
|---|
| 11 | #ifndef M_LN2 | 
|---|
| 12 | #  define M_LN2          0.69314718055994530942  /* log_e 2 */ | 
|---|
| 13 | #endif | 
|---|
| 14 |  | 
|---|
| 15 | #ifndef M_PI_2 | 
|---|
| 16 | #  define M_PI_2         1.57079632679489661923  /* pi/2 */ | 
|---|
| 17 | #endif | 
|---|
| 18 |  | 
|---|
| 19 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.