|
@@ -17,6 +17,7 @@
|
|
|
INLINE float csqrt(float v);
|
|
INLINE float csqrt(float v);
|
|
|
INLINE float csin(float v);
|
|
INLINE float csin(float v);
|
|
|
INLINE float ccos(float v);
|
|
INLINE float ccos(float v);
|
|
|
|
|
+INLINE void csincos(float v, float *pSinResult, float *pCosResult); // does both at once (faster on x86)
|
|
|
INLINE float cabs(float v);
|
|
INLINE float cabs(float v);
|
|
|
INLINE float catan2(float y, float x);
|
|
INLINE float catan2(float y, float x);
|
|
|
|
|
|
|
@@ -25,6 +26,7 @@ INLINE double csin(double v);
|
|
|
INLINE double ccos(double v);
|
|
INLINE double ccos(double v);
|
|
|
INLINE double cabs(double v);
|
|
INLINE double cabs(double v);
|
|
|
INLINE double catan2(double y, double x);
|
|
INLINE double catan2(double y, double x);
|
|
|
|
|
+INLINE void csincos(double v, double *pSinResult, double *pCosResult); // does both at once (faster on x86)
|
|
|
|
|
|
|
|
// Returns true if the number is nan, false if it's a genuine number
|
|
// Returns true if the number is nan, false if it's a genuine number
|
|
|
// or infinity.
|
|
// or infinity.
|