diff --git a/includes/std/fxpt.pat b/includes/std/fxpt.pat index 90b5233..8af08cf 100644 --- a/includes/std/fxpt.pat +++ b/includes/std/fxpt.pat @@ -28,7 +28,7 @@ namespace std::fxpt { @return The fixed point representation of flt */ fn to_fixed(double flt, u32 precision) { - return fixed((flt * (1 << precision))); + return s128((flt * (1 << precision))); }; /**