bignum-ig 0.1.1

A Rust implementation for Numbers from ± 10 ^ i64::MIN - 9.999.. * 10 ^ i64::MAX. The Primary Use of this is for Incremental Games.
Documentation
  • Coverage
  • 100%
    33 out of 33 items documented13 out of 22 items with examples
  • Size
  • Source code size: 45.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 279.9 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • veprogames/bignum-ig
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • veprogames

bignum-ig

A Rust implementation for Numbers from ± 10 ^ i64::MIN - 9.999.. * 10 ^ i64::MAX. The Primary Use of this is for Incremental Games.

Features

Mathematically correct (as much as I know)

  • Explicit Variants for Zero, Infinities and NaN
  • Comparisons: Infinity != Infinity, NaN != <Anything>
  • Most if not all edge cases are handled: For example, what is Infinity * -Infinity again?

Speed

  • Unnormalizing Methods are exposed, allowing you to squeeze out more speed if needed and if you know what you are doing
  • add, sub, mul, div and some other methods are implemented mutable by default to reduce allocations.