includes/std: Fixed std::math::atan2 not taking correct arguments

This commit is contained in:
Nik
2023-10-22 21:23:51 +02:00
committed by GitHub
parent 93494a19a4
commit 6b136b7fc6

View File

@@ -265,7 +265,7 @@ namespace std::math {
@param value Value
@return Arc tangent of `value` in radians between `-pi` and `pi`
*/
fn atan2(auto value) { return builtin::std::math::atan2(value); };
fn atan2(auto y, auto x) { return builtin::std::math::atan2(y, x); };
/**
Calculates the hyperbolic sine of `value`.