shithub: npe

Download patch

ref: 9fe0bdca16d617404d87acfb4b473e1e900f1050
parent: 601fd8cc2b36c3aef31d411115783428f039b36d
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Mar 19 06:00:41 EDT 2021

math.h: M_PI and powf → pow

--- a/include/npe/math.h
+++ b/include/npe/math.h
@@ -3,6 +3,8 @@
 
 #include <npe.h>
 
+#define M_PI 3.14159265358979323846
+
 #define isnan isNaN
 
 #define acosf acos
@@ -17,6 +19,7 @@
 #define fabsf fabs
 #define floorf floor
 #define fmodf fmod
+#define powf pow
 
 double exp2(double);
 #define exp2f exp2