Browse Source
Previously, we'd print an 'Approximate result' in addition to the exact rational number in exact mode: Result (probability): 1/6 Approximate result: 0.16666666666666666 Result (probability): 1/6 Approximate result: 0.16666666666666666 Now, we rename that to 'As floating point' and use BigRational.toApproximateString to print an approximate result with ~ prefix, and an exact floating point result without ~: Result (probability): 1/6 As floating point: ~0.16666666666666666 Result (probability): 1/2 As floating point: 0.5master
committed by
Dave Parker
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue