mirror of
https://github.com/ziglang/zig.git
synced 2026-01-27 17:55:24 +00:00
parent
8d6536b50c
commit
e3447e67fe
@ -146,7 +146,9 @@ fn testAtomicStore() void {
|
||||
}
|
||||
|
||||
test "atomicrmw with floats" {
|
||||
if (builtin.arch == .aarch64 or builtin.arch == .arm)
|
||||
if (builtin.arch == .aarch64 or
|
||||
builtin.arch == .arm or
|
||||
builtin.arch == .riscv64)
|
||||
return;
|
||||
testAtomicRmwFloat();
|
||||
}
|
||||
|
||||
@ -261,10 +261,6 @@ fn testPeerErrorAndArray2(x: u8) anyerror![]const u8 {
|
||||
}
|
||||
|
||||
test "@floatToInt" {
|
||||
if (@import("builtin").arch == .riscv64) {
|
||||
// TODO: https://github.com/ziglang/zig/issues/3338
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
testFloatToInts();
|
||||
comptime testFloatToInts();
|
||||
}
|
||||
|
||||
@ -7,10 +7,6 @@ const minInt = std.math.minInt;
|
||||
const mem = std.mem;
|
||||
|
||||
test "division" {
|
||||
if (@import("builtin").arch == .riscv64) {
|
||||
// TODO: https://github.com/ziglang/zig/issues/3338
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
testDivision();
|
||||
comptime testDivision();
|
||||
}
|
||||
@ -578,10 +574,6 @@ fn remdiv(comptime T: type) void {
|
||||
}
|
||||
|
||||
test "@sqrt" {
|
||||
if (@import("builtin").arch == .riscv64) {
|
||||
// TODO: https://github.com/ziglang/zig/issues/3338
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
testSqrt(f64, 12.0);
|
||||
comptime testSqrt(f64, 12.0);
|
||||
testSqrt(f32, 13.0);
|
||||
@ -627,10 +619,6 @@ test "vector integer addition" {
|
||||
}
|
||||
|
||||
test "NaN comparison" {
|
||||
if (@import("builtin").arch == .riscv64) {
|
||||
// TODO: https://github.com/ziglang/zig/issues/3338
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
if (std.Target.current.isWindows()) {
|
||||
// TODO https://github.com/ziglang/zig/issues/508
|
||||
return error.SkipZigTest;
|
||||
|
||||
@ -19,10 +19,6 @@ test "implicit unsigned integer to signed integer" {
|
||||
}
|
||||
|
||||
test "float widening" {
|
||||
if (@import("builtin").arch == .riscv64) {
|
||||
// TODO:
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
var a: f16 = 12.34;
|
||||
var b: f32 = a;
|
||||
var c: f64 = b;
|
||||
@ -35,10 +31,6 @@ test "float widening" {
|
||||
test "float widening f16 to f128" {
|
||||
// TODO https://github.com/ziglang/zig/issues/3282
|
||||
if (@import("builtin").arch == .aarch64) return error.SkipZigTest;
|
||||
if (@import("builtin").arch == .riscv64) {
|
||||
// TODO: https://github.com/ziglang/zig/issues/3338
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
|
||||
var x: f16 = 12.34;
|
||||
var y: f128 = x;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user