The fizzy-testfloat is a CLI tool that cooperates with the Berkeley TestFloat floating-point
implementation test suite and tools.
The TestFloat's testfloat_gen generates operand values and expected result for selected
floating-point instruction. Then this generated input is processed by fizzy-testfloat to check if
Fizzy's implementation of the matching WebAssembly instruction produces the same result.
For more information check fizzy-testfloat --help and testfloat_gen --help.
- Test
f32.addwith default rounding modetestfloat_gen f32_add | fizzy-testfloat f32_add - Test
f32.addwith rounding down (not WebAssembly compliant)testfloat_gen -rmin f32_add | fizzy-testfloat -rmin f32_add - Test
f32.trunctestfloat_gen -rminMag f32_roundToInt | fizzy-testfloat f32_trunc