@@ -900,30 +900,30 @@ Lane-wise IEEE `multiplication`.
900
900
901
901
Lane-wise IEEE ` squareRoot ` .
902
902
903
- ### Round to nearest integer, ties to even
904
- * ` f32x4.nearest (a: v128) -> v128 `
905
- * ` f64x2.nearest (a: v128) -> v128 `
903
+ ### Round to integer above (ceiling)
904
+ * ` f32x4.ceil (a: v128) -> v128 `
905
+ * ` f64x2.ceil (a: v128) -> v128 `
906
906
907
- Lane-wise rounding to the nearest integral value; if two values are equally near, rounds to the even one .
907
+ Lane-wise rounding to the nearest integral value not smaller than the input .
908
908
909
909
### Round to integer toward zero (truncate to integer)
910
910
* ` f32x4.trunc(a: v128) -> v128 `
911
911
* ` f64x2.trunc(a: v128) -> v128 `
912
912
913
- Lane-wise rounding to the nearest integral value with the magniture not larger than the input.
914
-
915
- ### Round to integer above (ceiling)
916
- * ` f32x4.ceil(a: v128) -> v128 `
917
- * ` f64x2.ceil(a: v128) -> v128 `
918
-
919
- Lane-wise rounding to the nearest integral value not smaller than the input.
913
+ Lane-wise rounding to the nearest integral value with the magnitude not larger than the input.
920
914
921
915
### Round to integer below (floor)
922
916
* ` f32x4.floor(a: v128) -> v128 `
923
917
* ` f64x2.floor(a: v128) -> v128 `
924
918
925
919
Lane-wise rounding to the nearest integral value not greater than the input.
926
920
921
+ ### Round to nearest integer, ties to even
922
+ * ` f32x4.nearest(a: v128) -> v128 `
923
+ * ` f64x2.nearest(a: v128) -> v128 `
924
+
925
+ Lane-wise rounding to the nearest integral value; if two values are equally near, rounds to the even one.
926
+
927
927
## Conversions
928
928
### Integer to floating point
929
929
* ` f32x4.convert_i32x4_s(a: v128) -> v128 `
0 commit comments