aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2023-10-14 12:52:31 +0200
committerRobin Voetter <robin@voetter.nl>2023-10-15 14:00:32 +0200
commit9c20449cc5be5da0458556e143980b40d51e8776 (patch)
treecfa8ddf891494b237ba3e9a5268f222c90821c0f /lib/std/testing.zig
parent2fe16e072ac447de5826ee436f50f73f56876ff9 (diff)
downloadzig-9c20449cc5be5da0458556e143980b40d51e8776.tar.gz
zig-9c20449cc5be5da0458556e143980b40d51e8776.zip
wasm: lower min/max for floats to compiler_rt
The min and max builtins in Zig have some intricate behavior related to floats, that is not replicated with the min and max wasm instructions or using simple select operations. By lowering these instructions to compiler_rt, handling around NaNs is done correctly. See also https://github.com/WebAssembly/design/issues/214
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions