#math #conway #surreal #knuth

surreal

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

7 unstable releases (3 breaking)

0.3.1 Aug 21, 2019
0.3.0 Jul 19, 2019
0.2.0 Jul 18, 2019
0.1.3 Jun 14, 2019
0.0.1 Jan 14, 2019

#1 in #conway

Download history 4/week @ 2019-05-03 6/week @ 2019-05-10 7/week @ 2019-05-17 3/week @ 2019-05-24 6/week @ 2019-06-07 14/week @ 2019-06-14 87/week @ 2019-06-21 4/week @ 2019-06-28 36/week @ 2019-07-05 14/week @ 2019-07-12 29/week @ 2019-07-19 4/week @ 2019-07-26 19/week @ 2019-08-02 17/week @ 2019-08-09

78 downloads per month

MIT license

17KB
338 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