it's been solved

pull/234/head
prostomarkeloff 5 years ago committed by GitHub
parent bfe1ab96d7
commit 6d45b649cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,9 +52,6 @@ For numeric casts, there are quite a few cases to consider:
* zero-extend if the source is unsigned * zero-extend if the source is unsigned
* sign-extend if the source is signed * sign-extend if the source is signed
* casting from a float to an integer will round the float towards zero * casting from a float to an integer will round the float towards zero
* **[NOTE: currently this will cause Undefined Behavior if the rounded
value cannot be represented by the target integer type][float-int]**.
This includes Inf and NaN. This is a bug and will be fixed.
* casting from an integer to float will produce the floating point * casting from an integer to float will produce the floating point
representation of the integer, rounded if necessary (rounding to representation of the integer, rounded if necessary (rounding to
nearest, ties to even) nearest, ties to even)

Loading…
Cancel
Save