#math #conway #surreal #knuth

surreal

A Rust library that implements J. H. Conway’s surreal numbers

9 unstable releases (4 breaking)

0.4.1 Oct 31, 2019
0.3.1 Aug 21, 2019
0.3.0 Jul 19, 2019
0.1.1 Feb 6, 2019

#79 in Math

Download history 9/week @ 2020-01-11 45/week @ 2020-01-18 1/week @ 2020-02-01 9/week @ 2020-02-08 2/week @ 2020-02-15 90/week @ 2020-02-22 18/week @ 2020-03-07 9/week @ 2020-03-14 36/week @ 2020-03-21 9/week @ 2020-03-28 19/week @ 2020-04-04 55/week @ 2020-04-11 3/week @ 2020-04-25

82 downloads per month

MIT license

21KB
422 lines

surreal

https://travis-ci.com/realtable/surreal https://github.com/realtable/surreal/issues https://crates.io/crates/surreal

surreal is a Rust library that implements J. H. Conway's surreal numbers, as explained in the book Surreal Numbers by Donald Knuth. This crate provides an interface to the rules and theorems in the book and (so far) contains:

  • a basic surreal type
    • comparison and ordering
    • arithmetic system
  • decimal/surreal conversion
    • surreal to float
    • float to surreal
  • numbers past aleph day
    • infinite sets
  • pseudo-number implementation
home https://github.com/realtable/surreal
docs https://docs.rs/surreal
cargo https://crates.io/crates/surreal
build https://travis-ci.com/realtable/surreal
$ cargo install surreal

No runtime deps