|
|
b5e9ce6ae2
|
Implement Display for Numbers
|
2017-04-22 12:57:11 -07:00 |
|
|
|
a827958656
|
Remove complex module from types/number
|
2017-04-22 12:56:54 -07:00 |
|
|
|
4274822b65
|
Simplify number/mod.rs a bunch
|
2017-04-22 09:30:45 -07:00 |
|
|
|
f31094d115
|
Move rational conversion to math.rs
|
2017-04-15 11:30:31 -07:00 |
|
|
|
392c9e5ef8
|
Add fmt::Display impl to Real
|
2017-04-15 11:13:05 -07:00 |
|
|
|
161c122327
|
Remove println!
|
2017-04-15 11:06:14 -07:00 |
|
|
|
1d7b3b9df1
|
Add doc tests for other Real methods
|
2017-04-15 11:01:29 -07:00 |
|
|
|
c46081c0c3
|
Make Rational addition work!
|
2017-04-15 11:01:12 -07:00 |
|
|
|
4d7d709b2f
|
Keep working on Numbers and stuff -- trying to get integrated with the new sibillexer crate
|
2017-04-15 09:37:48 -07:00 |
|
|
|
5e71947128
|
Partial implementation of Rational addition
|
2017-04-14 07:48:02 -07:00 |
|
|
|
403536ec4c
|
Lots of churn for Real
|
2017-04-14 07:47:51 -07:00 |
|
|
|
2b2d1029f3
|
Make Number its own struct with real/imag elements
|
2017-04-14 07:47:39 -07:00 |
|
|
|
27c4a80631
|
Add gcd() and lcm() methods to Int
|
2017-04-13 20:51:47 -07:00 |
|
|
|
74f98379b9
|
Move Complex struct to its own file
|
2017-04-12 09:36:30 -07:00 |
|
|
|
a60ec25c8e
|
Implement irrational addition
|
2017-04-12 09:36:18 -07:00 |
|
|
|
1b816e19df
|
Add a failing test to add rationals
|
2017-04-12 09:15:28 -07:00 |
|
|
|
9c52bcb040
|
Remove convert_down() from Number
|
2017-04-12 08:50:50 -07:00 |
|
|
|
e503e6da7c
|
Clean up the enum matching for Reals
|
2017-04-12 08:50:37 -07:00 |
|
|
|
6ca01cbb5a
|
Integer addition!
|
2017-04-11 21:58:25 -07:00 |
|
|
|
6baf62e8c2
|
Move Real to its own module and bring a bunch of stuff from rational and integer over
|
2017-04-11 21:32:02 -07:00 |
|
|
|
7965f4e971
|
Make some number tests prettier
|
2017-04-10 10:34:40 -07:00 |
|
|
|
465b188d48
|
Integer and Rational correctly report exactness
|
2017-04-09 17:20:24 -07:00 |
|
|
|
6d9599551b
|
Add a doc comment explaining what convert_down() does
|
2017-04-09 15:59:53 -07:00 |
|
|
|
3e03ca7e4c
|
Implement Integers and Rationals
|
2017-04-09 15:58:20 -07:00 |
|
|
|
6ae557d837
|
Remake the number module directory
|
2017-04-09 14:09:24 -07:00 |
|
|
|
b094310b3c
|
Remove number module
|
2017-04-09 14:08:08 -07:00 |
|
|
|
18358f6d21
|
Add types/src/number/mod.rs
Empty number module
|
2017-04-08 16:39:01 -07:00 |
|