#rational #fraction #infinity #extended #numbers

extended-rational

Provides implementations of high-accuracy projectively-extended rational numbers and macros for creating them

14 stable releases

Uses old Rust 2015

1.3.3 Nov 5, 2017
1.3.2 Oct 8, 2017
1.0.1 Sep 30, 2017

#1202 in Data structures

MIT license

42KB
780 lines

This crate provides implementations of high-accuracy projectively-extended rational numbers and macros for creating them.

Differences

Projectively-extended rationals differ from normal rationals because they have a single, signless infinity and a single, signless zero. This means that 1/0 can be defined as equal to and 1/ equal to 0.

Dependencies

~0–275KB