Skip to content

Commit

Permalink
docs correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed Sep 1, 2023
1 parent 686292a commit 3451814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formulas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ pub fn ieee754_random_f32<F: FnMut() -> u32>(mut f: F, signed: bool) -> f32 {
f32::from_bits(sign_mask | final_exponent | mantissa)
}

/// Generates an `f32` in the signed or unsigned unit range.
/// Generates an `f64` in the signed or unsigned unit range.
///
/// * signed: `[-1.0, 1.0]`
/// * unsigned: `[0.0, 1.0]`
Expand Down

0 comments on commit 3451814

Please sign in to comment.