]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Math.hpp
latest updates from JSBSim
[flightgear.git] / src / FDM / YASim / Math.hpp
index 66bd6cc80a76bc61bcff280d3f1dfcc60b5bdee9..e729f6d72dd0200f620906e432938a772c91a8bd 100644 (file)
@@ -20,6 +20,8 @@ public:
     static float atan2(float y, float x);
     static float asin(float f);
     static float acos(float f);
+    static float exp(float f);
+    static float sqr(float f) {return f*f;}
 
     // Takes two args and runs afoul of the Koenig rules.
     static float pow(double base, double exp);