@@ -19,18 +19,21 @@ func TestArithmeticExtra(t *testing.T) {
1919 {"AddWithMode(1, 2)" , FromFloat32 (1 ), FromFloat32 (2 ), ModeIEEEArithmetic , RoundNearestEven , FromFloat32 (3 ), false , "AddWithMode" },
2020 {"AddWithMode(Inf, -Inf)" , PositiveInfinity , NegativeInfinity , ModeIEEEArithmetic , RoundNearestEven , QuietNaN , false , "AddWithMode" },
2121 {"AddWithMode(NaN, 1)" , QuietNaN , FromFloat32 (1 ), ModeExactArithmetic , RoundNearestEven , 0 , true , "AddWithMode" },
22+ {"AddWithMode(Fast)" , FromFloat32 (1 ), FromFloat32 (2 ), ModeFastArithmetic , RoundNearestEven , FromFloat32 (3 ), false , "AddWithMode" },
2223
2324 // MulWithMode
2425 {"MulWithMode(2, 3)" , FromFloat32 (2 ), FromFloat32 (3 ), ModeIEEEArithmetic , RoundNearestEven , FromFloat32 (6 ), false , "MulWithMode" },
2526 {"MulWithMode(0, Inf)" , PositiveZero , PositiveInfinity , ModeIEEEArithmetic , RoundNearestEven , QuietNaN , false , "MulWithMode" },
2627 {"MulWithMode(NaN, 1)" , QuietNaN , FromFloat32 (1 ), ModeExactArithmetic , RoundNearestEven , 0 , true , "MulWithMode" },
28+ {"MulWithMode(Fast)" , FromFloat32 (2 ), FromFloat32 (3 ), ModeFastArithmetic , RoundNearestEven , FromFloat32 (6 ), false , "MulWithMode" },
2729
2830 // DivWithMode
2931 {"DivWithMode(6, 3)" , FromFloat32 (6 ), FromFloat32 (3 ), ModeIEEEArithmetic , RoundNearestEven , FromFloat32 (2 ), false , "DivWithMode" },
3032 {"DivWithMode(0, 0)" , PositiveZero , PositiveZero , ModeIEEEArithmetic , RoundNearestEven , QuietNaN , false , "DivWithMode" },
3133 {"DivWithMode(1, 0)" , FromFloat32 (1 ), PositiveZero , ModeExactArithmetic , RoundNearestEven , 0 , true , "DivWithMode" },
3234 {"DivWithMode(Inf, Inf)" , PositiveInfinity , PositiveInfinity , ModeIEEEArithmetic , RoundNearestEven , QuietNaN , false , "DivWithMode" },
3335 {"DivWithMode(NaN, 1)" , QuietNaN , FromFloat32 (1 ), ModeExactArithmetic , RoundNearestEven , 0 , true , "DivWithMode" },
36+ {"DivWithMode(Fast)" , FromFloat32 (6 ), FromFloat32 (3 ), ModeFastArithmetic , RoundNearestEven , FromFloat32 (2 ), false , "DivWithMode" },
3437 }
3538
3639 for _ , tc := range testCases {
0 commit comments