X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FYASim%2FMath.hpp;h=e729f6d72dd0200f620906e432938a772c91a8bd;hb=d66903e9ad63b91182ccc25d9bb82f18f8dd98b6;hp=66bd6cc80a76bc61bcff280d3f1dfcc60b5bdee9;hpb=ce91286e19d6d66b316811d04b5b66b8b768827b;p=flightgear.git diff --git a/src/FDM/YASim/Math.hpp b/src/FDM/YASim/Math.hpp index 66bd6cc80..e729f6d72 100644 --- a/src/FDM/YASim/Math.hpp +++ b/src/FDM/YASim/Math.hpp @@ -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);