| ... | @@ -24,9 +24,6 @@ pub fn isNegativeInf(x: anytype) bool { | ... | @@ -24,9 +24,6 @@ pub fn isNegativeInf(x: anytype) bool { |
| 24 | } | 24 | } |
| 25 | | 25 | |
| 26 | test "math.isInf" { | 26 | test "math.isInf" { |
| 27 | // TODO remove when #11391 is resolved | | |
| 28 | if (@import("builtin").os.tag == .freebsd) return error.SkipZigTest; | | |
| 29 | | | |
| 30 | inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { | 27 | inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { |
| 31 | try expect(!isInf(@as(T, 0.0))); | 28 | try expect(!isInf(@as(T, 0.0))); |
| 32 | try expect(!isInf(@as(T, -0.0))); | 29 | try expect(!isInf(@as(T, -0.0))); |
| ... | @@ -38,9 +35,6 @@ test "math.isInf" { | ... | @@ -38,9 +35,6 @@ test "math.isInf" { |
| 38 | } | 35 | } |
| 39 | | 36 | |
| 40 | test "math.isPositiveInf" { | 37 | test "math.isPositiveInf" { |
| 41 | // TODO remove when #11391 is resolved | | |
| 42 | if (@import("builtin").os.tag == .freebsd) return error.SkipZigTest; | | |
| 43 | | | |
| 44 | inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { | 38 | inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { |
| 45 | try expect(!isPositiveInf(@as(T, 0.0))); | 39 | try expect(!isPositiveInf(@as(T, 0.0))); |
| 46 | try expect(!isPositiveInf(@as(T, -0.0))); | 40 | try expect(!isPositiveInf(@as(T, -0.0))); |
| ... | @@ -52,9 +46,6 @@ test "math.isPositiveInf" { | ... | @@ -52,9 +46,6 @@ test "math.isPositiveInf" { |
| 52 | } | 46 | } |
| 53 | | 47 | |
| 54 | test "math.isNegativeInf" { | 48 | test "math.isNegativeInf" { |
| 55 | // TODO remove when #11391 is resolved | | |
| 56 | if (@import("builtin").os.tag == .freebsd) return error.SkipZigTest; | | |
| 57 | | | |
| 58 | inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { | 49 | inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { |
| 59 | try expect(!isNegativeInf(@as(T, 0.0))); | 50 | try expect(!isNegativeInf(@as(T, 0.0))); |
| 60 | try expect(!isNegativeInf(@as(T, -0.0))); | 51 | try expect(!isNegativeInf(@as(T, -0.0))); |