Merge remote-tracking branch 'refs/remotes/origin/main'
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m28s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 19s

reci bullshit
This commit is contained in:
2024-07-29 19:17:33 -04:00

View File

@@ -239,26 +239,26 @@ namespace J3ML
#endif
}
float Tan(float x) { return std::tanf(x); }
float Tan(float x) { return std::tan(x); }
void SinCos(float x, float &outSin, float &outCos) {
outSin = Sin(x);
outCos = Cos(x);
}
float Asin(float x) { return std::asinf(x); }
float Asin(float x) { return std::asin(x); }
float Acos(float x) { return std::acosf(x); }
float Acos(float x) { return std::acos(x); }
float Atan(float x) { return std::atanf(x); }
float Atan(float x) { return std::atan(x); }
float Atan2(float y, float x) { return std::atan2f(y, x); }
float Atan2(float y, float x) { return std::atan2(y, x); }
float Sinh(float x) { return std::sinhf(x); }
float Sinh(float x) { return std::sinh(x); }
float Cosh(float x) { return std::coshf(x); }
float Cosh(float x) { return std::cosh(x); }
float Tanh(float x) { return std::tanhf(x); }
float Tanh(float x) { return std::tanh(x); }
bool IsPow2(u32 number) {
return (number & (number - 1)) == 0;
@@ -276,7 +276,7 @@ namespace J3ML
else return PowUInt(base, (u32) exponent);
}
float Pow(float base, float exponent) { return std::powf(base, exponent); }
float Pow(float base, float exponent) { return std::pow(base, exponent); }
float Exp(float exp) { return std::exp(exp); }
@@ -296,8 +296,8 @@ namespace J3ML
return Log(10, value);
}
float Ceil(float f) { return std::ceilf(f); }
int CeilInt(float f) { return (int)std::ceilf(f);}
float Ceil(float f) { return std::ceil(f); }
int CeilInt(float f) { return (int)std::ceil(f);}
float Floor(float x) { return floorf(x); }