Define the values for F_PI and F_PI_2 directly instead of using M_PI
This commit is contained in:
@@ -14,13 +14,9 @@
|
||||
#include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846 /* pi */
|
||||
#define M_PI_2 1.57079632679489661923 /* pi/2 */
|
||||
#endif
|
||||
|
||||
#define F_PI ((float)M_PI)
|
||||
#define F_PI_2 ((float)M_PI_2)
|
||||
#define F_PI (3.14159265358979323846f) /* pi */
|
||||
#define F_PI_2 (1.57079632679489661923f) /* pi/2 */
|
||||
|
||||
#ifdef HAVE_POWF
|
||||
#define aluPow(x,y) (powf((x),(y)))
|
||||
|
||||
Reference in New Issue
Block a user