[MLIR][Math] Improve docs for round op (NFC)

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D128662
This commit is contained in:
lorenzo chelini 2022-06-27 18:16:39 +02:00
parent ff855f5ec0
commit 58a55107c2
1 changed files with 4 additions and 1 deletions

View File

@ -667,7 +667,10 @@ def Math_RoundOp : Math_FloatUnaryOp<"round"> {
The `round` operation returns the operand rounded to the nearest integer
value in floating-point format. It takes one operand of floating point type
(i.e., scalar, tensor or vector) and produces one result of the same type.
(i.e., scalar, tensor or vector) and produces one result of the same type. The
operation rounds the argument to the nearest integer value in floating-point
format, rounding halfway cases away from zero, regardless of the current
rounding direction.
Example: