Pyther99
|
634dff682b
|
more idiomatic syntax
|
2021-07-13 19:55:42 +02:00 |
|
Pyther99
|
3ee5e00b11
|
remove return statements
|
2021-07-13 19:55:04 +02:00 |
|
Kasper
|
2d457de7f1
|
Disallow named number followed by smaller named number
like 1 million thousand
|
2021-07-07 04:21:44 +02:00 |
|
Matthew Gamble
|
d60d534014
|
Various bits of cleanup suggested by clippy
It would be good to incorporate clippy into the CI pipeline once it's up
and running.
|
2021-07-06 23:30:49 +10:00 |
|
Kasper
|
1db9598cd2
|
Switch back to official decimal
Switch back to official `decimal` because https://github.com/alkis/decimal/issues/59 is fixed
|
2021-03-15 00:45:08 +01:00 |
|
Kasper
|
25d151465e
|
Fix cargo doc links
|
2020-11-26 02:04:35 +01:00 |
|
Kasper
|
ef97410fe5
|
Updated decimal dependency to decimal_fixes_mirror
Fixed panics in Rust 1.48.0
|
2020-11-26 01:24:51 +01:00 |
|
Kasper
|
961daae9d5
|
Added named numbers (hundred, quadrillion etc)
|
2020-11-14 04:08:27 +01:00 |
|
Kasper
|
a5aa85c1c0
|
Documented most things, small code improvements
|
2020-08-20 21:59:44 +02:00 |
|
Kasper
|
56ea8380b7
|
Code improvements, added a bunch of doc comments
There are technically no breaking changes because everything was broken in the first place
|
2020-08-20 17:11:19 +02:00 |
|
Kasper
|
febd5366e8
|
Turned panics into errors
|
2020-01-15 17:45:53 +01:00 |
|
Kasper
|
fda6550d1a
|
Fixed ambiguity by renaming UnitType::NoUnit to NoUnitType
|
2020-01-14 17:30:46 +01:00 |
|
Kasper
|
1e83f50fbd
|
Moved * / % and ^ to units.rs, added support for 1km/1km
|
2020-01-14 14:41:53 +01:00 |
|
Kasper
|
eb8c1a0a37
|
Moved addition/subtraction to units.rs
|
2020-01-13 23:38:31 +01:00 |
|
Kasper
|
0758611dfb
|
Added lexing of energy and speed units
|
2020-01-11 04:31:30 +01:00 |
|
Kasper
|
80aacc6493
|
Made the "Answer" struct a generic struct "Number"
|
2020-01-09 20:58:45 +01:00 |
|
Kasper
|
1e00714cf0
|
Sped up sin/cos/tan by calculating factorials using match statement
|
2019-12-28 06:34:53 +01:00 |
|
Kasper
|
26992c9e32
|
Evaluation of sin, cos, tan
|
2019-12-28 06:31:50 +01:00 |
|
Kasper
|
1e541b8313
|
Fixed evaluation of exponents
|
2019-12-28 01:59:29 +01:00 |
|
Kasper
|
a0b7a7cdf5
|
Performance improved for sqrt, cbrt, factorial
|
2019-12-28 00:37:40 +01:00 |
|
Kasper
|
de99482c98
|
Evaluation of sqrt, cbrt
|
2019-12-26 04:25:03 +01:00 |
|
Kasper
|
ce74ce83a0
|
Evaluation of round, ceil, floor, abs
|
2019-12-25 23:58:50 +01:00 |
|
Kasper
|
ec5b3371fc
|
Evaluation of negative numbers
|
2019-12-25 23:56:43 +01:00 |
|
Kasper
|
f38e63c5a7
|
Evaluation of log, ln, exp
|
2019-12-25 23:29:53 +01:00 |
|
Kasper
|
77e359e182
|
Evaluation of pi, e
|
2019-12-25 23:20:31 +01:00 |
|
Kasper
|
c0277f610b
|
Evaluation of "to" and "of"
|
2019-12-23 05:11:10 +01:00 |
|
Kasper
|
5286bec0dd
|
Evaluation of multiply, divide, modulo, caret, percent, factorial
|
2019-12-23 01:24:15 +01:00 |
|
Kasper
|
8fcd76a098
|
Evaluation of plus and minus
|
2019-12-22 21:35:58 +01:00 |
|