Commit graph

16 commits

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