#conway #knuth #order


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

9 unstable releases (4 breaking)

Uses old Rust 2015

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

#803 in Math

MIT license

422 lines


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