Skip to content

Commit

Permalink
Expand rounding explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Sep 6, 2024
1 parent a523514 commit 56908cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ const INV_SQRT_E: f64 = 0.606_530_659_712_633_4;
/// Fulfills the equation Ωe^Ω = 1.
///
/// Has been rounded to the closest available `f64` value.
// If we round the last digits (87) to a 9 then the closest available float
// is further away from the true value than if we round to 8.
// Rounded from 0.567_143_290_409_783_87
pub const OMEGA: f64 = 0.567_143_290_409_783_8;

Expand Down

0 comments on commit 56908cd

Please sign in to comment.