authorgravatar for hi@viri.moevi <hi@viri.moe> 2022-04-15 16:51:22-06:00
committergravatar for hi@viri.moevi <hi@viri.moe> 2022-04-15 16:52:02-06:00
log4ad1480298d0f1b547a9bfffc28cc7a2dd6cafc5
treef0e951a8ff4d0865e6b50093f6c205dbc3d46c62
parent2ef9a0d9ae9bc4415492bc92c7391d69add8286e
signaturelock-open Commit is signed but in an unrecognized format.

std.math.fabs: enable f80 testing


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/math/fabs.zig+2-2
......@@ -21,8 +21,8 @@ pub fn fabs(x: anytype) @TypeOf(x) {
2121}
2222
2323test "math.fabs" {
24 // TODO add support for f80 & c_longdouble here
25 inline for ([_]type{ f16, f32, f64, f128 }) |T| {
24 // TODO add support for c_longdouble here
25 inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| {
2626 // normals
2727 try expect(fabs(@as(T, 1.0)) == 1.0);
2828 try expect(fabs(@as(T, -1.0)) == 1.0);