Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.5 KiB

  1. #include <math.h>
  2. #include <trans.h>
  3. #pragma function(asinf, acosf, atan2f, atanf, ceilf, expf, fabsf, floorf, fmodf, log10f, logf, powf, sinf, cosf, sinhf, coshf, sqrtf, tanf, tanhf)
  4. float __cdecl asinf (float x) {return (float)asin((double) x);}
  5. float __cdecl acosf (float x) {return (float)acos((double) x);}
  6. float __cdecl atan2f (float v, float u) {return (float)atan2((double) v, (double) u); }
  7. float __cdecl atanf (float x) {return (float)atan((double) x);}
  8. float __cdecl ceilf (float x) {return (float)ceil((double) x);}
  9. float __cdecl expf (float x) {return (float)exp((double) x);}
  10. float __cdecl fabsf (float x) {return (float)fabs((double) x);}
  11. float __cdecl floorf (float x) {return (float)floor((double) x);}
  12. float __cdecl fmodf(float x, float y) {return ((float)fmod((double)x, (double)y));}
  13. float __cdecl log10f (float x) {return (float)log10((double) x);}
  14. float __cdecl logf (float x) {return (float)log((double) x);}
  15. float __cdecl powf (float x, float y) {return (float)pow((double) x, (double) y);}
  16. float __cdecl sinf (float x) {return (float)sin((double) x);}
  17. float __cdecl cosf (float x) {return (float)cos((double) x);}
  18. float __cdecl sinhf (float x) {return (float)sinh((double) x);}
  19. float __cdecl coshf (float x) {return (float)cosh((double) x);}
  20. float __cdecl sqrtf (float x) {return (float)sqrt((double) x);}
  21. float __cdecl tanf (float x) {return (float)tan((double) x);}
  22. float __cdecl tanhf (float x) {return (float)tanh((double) x);}