File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -349,10 +349,8 @@ reference types and `mut` or `const` in pointer types.
349349 * sign-extend if the source is signed
350350* Casting from a float to an integer will round the float towards zero
351351 * ` NaN ` will return ` 0 `
352- * Values larger than the maximum integer value will saturate to the
353- maximum value of the integer type.
354- * Values smaller than the minimum integer value will saturate to the
355- minimum value of the integer type.
352+ * Values larger than the maximum integer value, including ` INFINITY ` , will saturate to the maximum value of the integer type.
353+ * Values smaller than the minimum integer value, including ` NEG_INFINITY ` , will saturate to the minimum value of the integer type.
356354* Casting from an integer to float will produce the closest possible float \*
357355 * if necessary, rounding is according to ` roundTiesToEven ` mode \*\*\*
358356 * on overflow, infinity (of the same sign as the input) is produced
You can’t perform that action at this time.
0 commit comments