We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 702b45e + 5faae38 commit afc2bccCopy full SHA for afc2bcc
src/librustc_apfloat/lib.rs
@@ -555,12 +555,13 @@ pub trait Float
555
fn ilogb(self) -> ExpInt;
556
557
/// Returns: self * 2<sup>exp</sup> for integral exponents.
558
+ /// Equivalent to C standard library function `ldexp`.
559
fn scalbn_r(self, exp: ExpInt, round: Round) -> Self;
560
fn scalbn(self, exp: ExpInt) -> Self {
561
self.scalbn_r(exp, Round::NearestTiesToEven)
562
}
563
- /// Equivalent of C standard library function.
564
+ /// Equivalent to C standard library function with the same name.
565
///
566
/// While the C standard says exp is an unspecified value for infinity and nan,
567
/// this returns INT_MAX for infinities, and INT_MIN for NaNs (see `ilogb`).
0 commit comments