diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-02-09 00:44:13 -0500 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-02-12 09:48:17 -0500 |
| commit | 348d1773baec1f9b853827b8318735d9686b699d (patch) | |
| tree | 21c3a9e187a0282030a8a94b7dba07d07148ef0d /lib/std/math.zig | |
| parent | 53216d2f22053ca94a68f5da234038c01f73d60f (diff) | |
| download | zig-348d1773baec1f9b853827b8318735d9686b699d.tar.gz zig-348d1773baec1f9b853827b8318735d9686b699d.zip | |
std: remove special cases for stage2_x86_64 that are no longer needed
Diffstat (limited to 'lib/std/math.zig')
| -rw-r--r-- | lib/std/math.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/math.zig b/lib/std/math.zig index 1e7858aaa9..262d741e43 100644 --- a/lib/std/math.zig +++ b/lib/std/math.zig @@ -1356,7 +1356,7 @@ pub fn lerp(a: anytype, b: anytype, t: anytype) @TypeOf(a, b, t) { test lerp { if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/17884 if (builtin.zig_backend == .stage2_x86_64 and - !comptime std.Target.x86.featureSetHas(builtin.cpu.features, .fma)) return error.SkipZigTest; + !comptime std.Target.x86.featureSetHas(builtin.cpu.features, .fma)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/17884 try testing.expectEqual(@as(f64, 75), lerp(50, 100, 0.5)); try testing.expectEqual(@as(f32, 43.75), lerp(50, 25, 0.25)); |
