20 Commits

Author SHA1 Message Date
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