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