Files
wasm2elf-mb/examples/fptrap.wat
T
2026-11-21 09:56:35 +00:00

5 lines
154 B
WebAssembly Text Format

;; float -> int conversion of an out-of-range value traps (exit 134)
(module
(func (export "main") (result i32)
(i32.trunc_f64_s (f64.const 3e9))))