Merge commit '5ff285a9ed91944b686cd1d77ff28bafa9975695' into dev

This commit is contained in:
Simone
2025-01-07 15:10:49 +00:00
41 changed files with 1068 additions and 774 deletions

View File

@@ -283,7 +283,7 @@ struct double_double {
double a;
double b;
explicit constexpr double_double(double a_val = 0, double b_val = 0)
constexpr explicit double_double(double a_val = 0, double b_val = 0)
: a(a_val), b(b_val) {}
operator double() const { return a + b; }
@@ -299,7 +299,7 @@ bool operator>=(const double_double& lhs, const double_double& rhs) {
struct slow_float {
float value;
explicit constexpr slow_float(float val = 0) : value(val) {}
constexpr explicit slow_float(float val = 0) : value(val) {}
operator float() const { return value; }
auto operator-() const -> slow_float { return slow_float(-value); }
};