added multiplication

This commit is contained in:
2017-07-29 17:11:24 -04:00
parent 76fcdbeb16
commit 428360db07
4 changed files with 50 additions and 3 deletions

View File

@@ -13,7 +13,8 @@ Don't. The makefile only includes a test target, because I want to test my code.
silly silly_zeros(); // creates a fixed point value of zero
silly silly_add(silly, silly); // addition
silly silly_sub(silly, silly); // subtracttion
silly silly_sub(silly, silly); // subtraction
silly silly_mul(silly, silly); // multiplication
char* silly_to_string(silly); // converts a fixed point value to a string (memory is now yours)
```