mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
compiler-rt: remove invalid test
This was leftover from testing std.math.sin
This commit is contained in:
parent
51f8ce1825
commit
1cd799317b
@ -111,12 +111,6 @@ pub fn sinq(x: f128) callconv(.C) f128 {
|
||||
return sin(@floatCast(f64, x));
|
||||
}
|
||||
|
||||
test "sin" {
|
||||
try expect(sin(@as(f32, 0.0)) == sinf(0.0));
|
||||
try expect(sin(@as(f64, 0.0)) == sin(0.0));
|
||||
try expect(comptime (math.sin(@as(f64, 2))) == math.sin(@as(f64, 2)));
|
||||
}
|
||||
|
||||
test "sin32" {
|
||||
const epsilon = 0.00001;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user