You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: library/alloc/src/fmt.rs
+5-2
Original file line number
Diff line number
Diff line change
@@ -278,17 +278,20 @@
278
278
//! Hello, ` 123` has 3 right-aligned characters
279
279
//! ```
280
280
//!
281
-
//! When truncuating these values, Rust uses round-to-even, which may
282
-
//! cause concern when formatting for scientific notation. For example,
281
+
//! When truncating these values, Rust uses [round half-to-even](https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_even),
282
+
//! which is the default rounding mode in IEEE 754.
0 commit comments