diff --git a/lib/std/math/fabs.zig b/lib/std/math/fabs.zig index f1bb4be7e78124f8cfc9e13edd59794238837f63..44918e75d91c99ef770f29dc836f4b4f16400d85 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); diff --git a/lib/std/math/isfinite.zig b/lib/std/math/isfinite.zig index e9314213ce92f530d3b5d5757c7e43375045ec72..67a67a461085d00dcaf0c72a8c272d6403cd09f8 100644 --- a/lib/std/math/isfinite.zig +++ b/lib/std/math/isfinite.zig @@ -14,9 +14,6 @@ pub fn isFinite(x: anytype) bool { } test "math.isFinite" { - // TODO remove when #11391 is resolved - if (@import("builtin").os.tag == .freebsd) return error.SkipZigTest; - inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { // normals try expect(isFinite(@as(T, 1.0))); diff --git a/lib/std/math/isinf.zig b/lib/std/math/isinf.zig index e88b9810b69355b58f9383dd90c3a35652528cac..7275740fcc24b2fb0bc8d523b77136befa6f89de 100644 --- a/lib/std/math/isinf.zig +++ b/lib/std/math/isinf.zig @@ -24,9 +24,6 @@ pub fn isNegativeInf(x: anytype) bool { } test "math.isInf" { - // TODO remove when #11391 is resolved - if (@import("builtin").os.tag == .freebsd) return error.SkipZigTest; - inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { try expect(!isInf(@as(T, 0.0))); try expect(!isInf(@as(T, -0.0))); @@ -38,9 +35,6 @@ test "math.isInf" { } test "math.isPositiveInf" { - // TODO remove when #11391 is resolved - if (@import("builtin").os.tag == .freebsd) return error.SkipZigTest; - inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { try expect(!isPositiveInf(@as(T, 0.0))); try expect(!isPositiveInf(@as(T, -0.0))); @@ -52,9 +46,6 @@ test "math.isPositiveInf" { } test "math.isNegativeInf" { - // TODO remove when #11391 is resolved - if (@import("builtin").os.tag == .freebsd) return error.SkipZigTest; - inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { try expect(!isNegativeInf(@as(T, 0.0))); try expect(!isNegativeInf(@as(T, -0.0))); diff --git a/lib/std/math/isnormal.zig b/lib/std/math/isnormal.zig index 42b2e1c1882b8c9f8786002b9c9a1fbff847305e..e15d8a91cc2dcb8343fc8cb46dc288fc98d6add9 100644 --- a/lib/std/math/isnormal.zig +++ b/lib/std/math/isnormal.zig @@ -23,9 +23,6 @@ pub fn isNormal(x: anytype) bool { } test "math.isNormal" { - // TODO remove when #11391 is resolved - if (@import("builtin").os.tag == .freebsd) return error.SkipZigTest; - // TODO add `c_longdouble' when math.inf(T) supports it inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { const TBits = std.meta.Int(.unsigned, @bitSizeOf(T));