1
Fork 0

Fix docs for future pulldown migration

This commit is contained in:
Malo Jaffré 2017-12-31 17:17:01 +01:00
parent 8395798d1a
commit cbb32a9418
26 changed files with 128 additions and 94 deletions

View file

@ -65,11 +65,11 @@ pub trait Semantics: Sized {
/// Number of bits in the significand. This includes the integer bit.
const PRECISION: usize;
/// The largest E such that 2^E is representable; this matches the
/// The largest E such that 2<sup>E</sup> is representable; this matches the
/// definition of IEEE 754.
const MAX_EXP: ExpInt;
/// The smallest E such that 2^E is a normalized number; this
/// The smallest E such that 2<sup>E</sup> is a normalized number; this
/// matches the definition of IEEE 754.
const MIN_EXP: ExpInt = -Self::MAX_EXP + 1;
@ -2608,7 +2608,7 @@ mod sig {
///
/// `(n - 1) * (n - 1) + 2 * (n - 1) == (n - 1) * (n + 1)`
///
/// which is less than n^2.
/// which is less than n<sup>2</sup>.
pub(super) fn widening_mul(a: Limb, b: Limb) -> [Limb; 2] {
let mut wide = [0, 0];