realtable / surreal

A Rust library that implements Conway's surreal numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Rust library that implements Conway's surreal numbers

License:MIT License


Languages

Language:Rust 100.0%