std.math: hard deprecate obsolete constants (soft deprecated in 0.10)
Followup to 5b8ac9821d.
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
@@ -263,7 +263,7 @@ pub fn expectApproxEqRel(expected: anytype, actual: @TypeOf(expected), tolerance
|
||||
|
||||
test "expectApproxEqRel" {
|
||||
inline for ([_]type{ f16, f32, f64, f128 }) |T| {
|
||||
const eps_value = comptime math.epsilon(T);
|
||||
const eps_value = comptime math.floatEps(T);
|
||||
const sqrt_eps_value = comptime @sqrt(eps_value);
|
||||
|
||||
const pos_x: T = 12.0;
|
||||
|
||||
Reference in New Issue
Block a user