Closed wmedrano closed 6 months ago
FractV
and BigFract
variants added to SteelVal
.BigNum
now also work on fractions.Current Status
FractV
andBigFract
variants added toSteelVal
.- Arithmetic functions that work on
BigNum
now also work on fractions.- Some unit tests added.
Next Steps
- Determine if benchmarking is appropriate. I'd prefer to actually check this in now and optimize in subsequent PRs.
- Add more unit tests.
- Add parser/lexer support.
Overall Sentiment
- Nice to have number support in line with other Schemes.
- I don't like how complicated some of the arithmetic code got, but I guess its necessary.
This sounds good - so based on this you want to get this merged first before adding more? If so, sounds good - I can point you to the parser and lexer spots if you'd like to do that as well.
Current Status
Some numerical operations were updated to support
FractV
where the numerator and denominator must fit within ani32
.Demo:
Next Steps
BigFractV
.