Commit graph

22 commits

Author SHA1 Message Date
53d139bc11 Add inc, dec, ++, and -- 2021-09-24 12:29:52 +02:00
3946dd2b1c Add method versions of operators 2021-09-24 12:07:20 +02:00
2a10c5480a Refactoring
- Remove `this->`
- Avoid possible divide by 0
- Invert ternary operator in lcm to be more readable
2021-09-24 11:50:07 +02:00
d45bbab05b Config downgrade 2021-09-24 11:49:20 +02:00
Tobias Berger
55dc370542 idek what this is but why not add it? 2021-09-21 11:56:22 +02:00
Tobias Berger
dff795a669 clean up tests 2021-09-21 11:51:22 +02:00
Tobias Berger
8c76b04b39 revert config change 2021-09-21 11:51:05 +02:00
Tobias Berger
7715a68609 placeholder comment 2021-09-21 11:43:00 +02:00
Tobias Berger
87759391d8 pow 2021-09-21 11:42:53 +02:00
Tobias Berger
85e1b0c77e improve ==(int) 2021-09-21 11:41:35 +02:00
Tobias Berger
2e778ff3f4 inv, more errors (for pow in future), toDouble and toFloat (untested) 2021-09-21 11:41:12 +02:00
Tobias Berger
912644d841 Improve test_constructor, add custom error 2021-09-21 11:23:05 +02:00
Tobias Berger
854e87e616 leq and geq 2021-09-21 10:12:20 +02:00
Tobias Berger
3a49702d09 greater than, less than 2021-09-21 10:06:50 +02:00
Tobias Berger
e2d2c4489d rename parameter 2021-09-21 09:42:07 +02:00
Tobias Berger
0e6e7268ee division 2021-09-21 09:30:49 +02:00
Tobias Berger
e245ab83a1 Subtraction, multiplication, light formatting 2021-09-21 09:22:46 +02:00
Tobias Berger
e55d2843f6 Addition 2021-09-20 16:34:45 +02:00
7979b31d9b WIP 2021-09-17 14:52:24 +02:00
69874ba9f4 Operators 2021-09-17 14:47:29 +02:00
1b7b25e09e First few test cases 2021-09-17 12:32:14 +02:00
9ce7e4ed96 Initial commit 2021-09-17 11:59:28 +02:00