X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FFDM%2FYASim%2FMath.hpp;h=9acfeb4b6abcfff9d11526c3221b64187a335393;hb=3b2d97289c7457fb693a974e8635a4b6ee3292ca;hp=ef97f17f21ae7e1905c1a1ec942a032db80563c4;hpb=4c422bbe6d3160d4a46058da87942c6317ce3dca;p=flightgear.git diff --git a/src/FDM/YASim/Math.hpp b/src/FDM/YASim/Math.hpp index ef97f17f2..9acfeb4b6 100644 --- a/src/FDM/YASim/Math.hpp +++ b/src/FDM/YASim/Math.hpp @@ -12,17 +12,21 @@ public: // Simple wrappers around library routines static float abs(float f); static float sqrt(float f); - static float pow(float base, float exp); static float ceil(float f); static float sin(float f); static float cos(float f); static float tan(float f); + static float atan(float f); static float atan2(float y, float x); + static float asin(float f); + static float acos(float f); + + // Takes two args and runs afoul of the Koenig rules. + static float pow(double base, double exp); // double variants of the above static double abs(double f); static double sqrt(double f); - static double pow(double base, double exp); static double ceil(double f); static double sin(double f); static double cos(double f);