From 4ad1480298d0f1b547a9bfffc28cc7a2dd6cafc5 Mon Sep 17 00:00:00 2001 From: vi Date: Fri, 15 Apr 2022 16:51:22 -0600 Subject: [PATCH] std.math.fabs: enable f80 testing --- lib/std/math/fabs.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/math/fabs.zig b/lib/std/math/fabs.zig index f1bb4be7e7..44918e75d9 100644 --- a/lib/std/math/fabs.zig +++ b/lib/std/math/fabs.zig @@ -21,8 +21,8 @@ pub fn fabs(x: anytype) @TypeOf(x) { } test "math.fabs" { - // TODO add support for f80 & c_longdouble here - inline for ([_]type{ f16, f32, f64, f128 }) |T| { + // TODO add support for c_longdouble here + inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { // normals try expect(fabs(@as(T, 1.0)) == 1.0); try expect(fabs(@as(T, -1.0)) == 1.0);