Skip to content

Commit db446b1

Browse files
authored
Rollup merge of rust-lang#119845 - RalfJung:rint, r=nagisa
rint: further doc tweaks r? ``@nagisa``
2 parents 43f6555 + c32d9c8 commit db446b1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

core/src/intrinsics.rs

+6-4
Original file line numberDiff line numberDiff line change
@@ -1787,8 +1787,9 @@ extern "rust-intrinsic" {
17871787
/// so this rounds half-way cases to the number with an even least significant digit.
17881788
///
17891789
/// May raise an inexact floating-point exception if the argument is not an integer.
1790-
/// However, Rust assumes floating-point exceptions cannot be observed, so this is not something that
1791-
/// can actually be used from Rust code.
1790+
/// However, Rust assumes floating-point exceptions cannot be observed, so these exceptions
1791+
/// cannot actually be utilized from Rust code.
1792+
/// In other words, this intrinsic is equivalent in behavior to `nearbyintf32` and `roundevenf32`.
17921793
///
17931794
/// The stabilized version of this intrinsic is
17941795
/// [`f32::round_ties_even`](../../std/primitive.f32.html#method.round_ties_even)
@@ -1798,8 +1799,9 @@ extern "rust-intrinsic" {
17981799
/// so this rounds half-way cases to the number with an even least significant digit.
17991800
///
18001801
/// May raise an inexact floating-point exception if the argument is not an integer.
1801-
/// However, Rust assumes floating-point exceptions cannot be observed, so this is not something that
1802-
/// can actually be used from Rust code.
1802+
/// However, Rust assumes floating-point exceptions cannot be observed, so these exceptions
1803+
/// cannot actually be utilized from Rust code.
1804+
/// In other words, this intrinsic is equivalent in behavior to `nearbyintf64` and `roundevenf64`.
18031805
///
18041806
/// The stabilized version of this intrinsic is
18051807
/// [`f64::round_ties_even`](../../std/primitive.f64.html#method.round_ties_even)

0 commit comments

Comments
 (0)