| ... | ... | @@ -112,7 +112,7 @@ test "math.asinh64" { |
| 112 | 112 | |
| 113 | 113 | test "math.asinh32.special" { |
| 114 | 114 | try expect(asinh32(0.0) == 0.0); |
| 115 | | try expect(@as(u32, @bitCast(asinh32(-0.0))) == @as(u32, 2147483648)); |
| 115 | try expect(@as(u32, @bitCast(asinh32(-0.0))) == @as(u32, 0x80000000)); |
| 116 | 116 | try expect(math.isPositiveInf(asinh32(math.inf(f32)))); |
| 117 | 117 | try expect(math.isNegativeInf(asinh32(-math.inf(f32)))); |
| 118 | 118 | try expect(math.isNan(asinh32(math.nan(f32)))); |
| ... | ... | @@ -120,7 +120,7 @@ test "math.asinh32.special" { |
| 120 | 120 | |
| 121 | 121 | test "math.asinh64.special" { |
| 122 | 122 | try expect(asinh64(0.0) == 0.0); |
| 123 | | try expect(@as(u64, @bitCast(asinh64(-0.0))) == @as(u64, 9223372036854775808)); |
| 123 | try expect(@as(u64, @bitCast(asinh64(-0.0))) == @as(u64, 0x8000000000000000)); |
| 124 | 124 | try expect(math.isPositiveInf(asinh64(math.inf(f64)))); |
| 125 | 125 | try expect(math.isNegativeInf(asinh64(-math.inf(f64)))); |
| 126 | 126 | try expect(math.isNan(asinh64(math.nan(f64)))); |