<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/subex/arithmetic.go
Commit message (Collapse)AuthorAgeFilesLines
* Adds an incredibly simple equality operatorCharlie Stanton2023-07-211-0/+15
|
* Huge refactor to a more value based system, doing away with terminals. Also ↵Charlie Stanton2023-07-191-67/+47
| | | | introduces unit testing
* Replaces the interfaces implementation of Atom with a tagged union based ↵Charlie Stanton2023-04-211-16/+16
| | | | implementation
* Changes the implementation of Atomise and Compound to no longer use goroutinesCharlie Stanton2023-04-211-5/+5
| | | | This results in a massive performance boost, ~4x speedup
* Adds the NOT operatorCharlie Stanton2023-04-191-0/+24
|
* Adds the reciprocal operatorCharlie Stanton2023-04-191-0/+34
|
* Fixes internal error messages for arithmetic functionsCharlie Stanton2023-04-191-4/+4
|
* Adds the negate operatorCharlie Stanton2023-04-191-0/+33
| | | | Negates all of the numbers produced by its content subex
* Combines sum and product into an arithmetic state that contains a function ↵Charlie Stanton2023-04-191-0/+87
for it's operation Creates arithmetic.go which will house all of these functions