rough2 0.1.1

Find the nearest fraction for some number
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 29.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.07 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • PlexSheep

rough2

Project badge Crates.io License GitHub Release Rust CI

rough2 searches a fraction with a given denominator that is similar to a number you input.

% rough2 --help
Usage: rough2 ACTUAL DENOMINATOR [-vi]

rough2 v0.1.0
Author: Christoph J. Scherr <software@cscherr.de>
Web: https://git.cscherr.de/PlexSheep/rough2

% rough2 105.1222 77 -v
105.1222 ≈ 8094/77; 8094/77 ≈ 105.11688311688312; e = 2.826924607867397e-5