luajitos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

math.h (726B)


      1 #ifndef _MATH_H
      2 #define _MATH_H
      3 
      4 double fabs(double x);
      5 double floor(double x);
      6 double ceil(double x);
      7 double fmod(double x, double y);
      8 double sqrt(double x);
      9 double pow(double x, double y);
     10 double exp(double x);
     11 double log(double x);
     12 double log10(double x);
     13 double sin(double x);
     14 double cos(double x);
     15 double tan(double x);
     16 double asin(double x);
     17 double acos(double x);
     18 double atan(double x);
     19 double atan2(double y, double x);
     20 double sinh(double x);
     21 double cosh(double x);
     22 double tanh(double x);
     23 
     24 float fabsf(float x);
     25 float floorf(float x);
     26 float ceilf(float x);
     27 float fmodf(float x, float y);
     28 float sqrtf(float x);
     29 float powf(float x, float y);
     30 
     31 #define HUGE_VAL __builtin_huge_val()
     32 #define NAN __builtin_nanf("")
     33 
     34 #endif