num-irrational

Crates.ionum-irrational
lib.rsnum-irrational
version0.3.0
sourcesrc
created_at2022-01-09 03:12:43.829165
updated_at2022-04-15 02:56:30.204182
description`num-irrational` is based on `num` and extends it with support for several kinds of irrational numbers.
homepage
repositoryhttps://github.com/cmpute/num-irrational
max_upload_size
id510634
size183,718
Jacob Zhong (cmpute)

documentation

README

num-irrational

This crate provides representations of irrational numbers within following categories:

  • Math constants (pi, e, etc.)
  • Quadratic Numbers
    • Quadratic irrational aka. Quadratic surd
    • Quadratic integer
    • Gaussian integer / Eisenstein integer
  • Continued Fraction
    • Simple (aka. Regular) continued fraction
    • General continued fraction
    • Hurwitz continued fraction

As you can see, the support for irrational number is not limited in the real field, it also support several numeric types in the complex field (by enabling the complex feature). It's based on the num creates.

Commit count: 58

cargo fmt