Crate arkley_numerics

Crate arkley_numerics 

Source
Expand description

§arkley-numerics

This module provides various number representations and calculations that represent several structs and enums that represent common mathematical numbers such as fractions, standard form, and decimals,

§Note

While we strive to cover as many scenarios as possible, the complexity of mathematics means that achieving 100% accuracy in all cases and operations can be challenging. If you come across any issues or inaccuracies in the library, please don’t hesitate to report them so that we can work on improving it. Your feedback is invaluable in helping us make the necessary enhancements.

Structs§

ParsingNumberError
Represents the possible parsing errors that can occur when converting a string to a Number.
StandardForm
Represents a number in standard form.

Enums§

Fraction
The Fraction struct represents a fraction with a numerator and denominator.
Number
Represents a numeric value that can be decimal (aka f64) or Fraction or Standardform number
ParsingStandardFormError
Represents the possible errors that can occur during parsing of a StandardForm number.