root/trunk/orca/unix/os_math.h
| Revision 1, 481 bytes (checked in by krobillard, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | |
| 2 | #include <math.h> |
| 3 | |
| 4 | |
| 5 | /* double trigFunc( double ) */ |
| 6 | |
| 7 | #define mathSine sin |
| 8 | #define mathCosine cos |
| 9 | #define mathTan tan |
| 10 | #define mathASine asin |
| 11 | #define mathACosine acos |
| 12 | #define mathATan atan |
| 13 | #define mathSqrt sqrt |
| 14 | |
| 15 | /* float trigFunc( float ) */ |
| 16 | |
| 17 | #define mathSineF sinf |
| 18 | #define mathCosineF cosf |
| 19 | #define mathSqrtF sqrtf |
| 20 | |
| 21 | /* double mathMod( double, double ) */ |
| 22 | |
| 23 | #define mathMod fmod |
| 24 | |
| 25 | |
| 26 | extern unsigned long randomSeed(); |
Note: See TracBrowser
for help on using the browser.
