Skip to content

Commit 4eea93d

Browse files
committed
Rename nearestint to nearest, aligning with the spec.
See WebAssembly/spec#38 .
1 parent f065b8d commit 4eea93d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AstSemantics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ implementations of the remaining required operations.
451451
* `float32.ceil`: ceiling operation
452452
* `float32.floor`: floor operation
453453
* `float32.trunc`: round to nearest integer towards zero
454-
* `float32.nearestint`: round to nearest integer, ties to even
454+
* `float32.nearest`: round to nearest integer, ties to even
455455
* `float32.eq`: compare ordered and equal
456456
* `float32.ne`: compare unordered or unequal
457457
* `float32.lt`: compare ordered and less than
@@ -472,7 +472,7 @@ implementations of the remaining required operations.
472472
* `float64.ceil`: ceiling operation
473473
* `float64.floor`: floor operation
474474
* `float64.trunc`: round to nearest integer towards zero
475-
* `float64.nearestint`: round to nearest integer, ties to even
475+
* `float64.nearest`: round to nearest integer, ties to even
476476
* `float64.eq`: compare ordered and equal
477477
* `float64.ne`: compare unordered or unequal
478478
* `float64.lt`: compare ordered and less than

0 commit comments

Comments
 (0)