miking-lang / miking

Miking - the meta viking: a meta-language system for creating embedded languages
Other
51 stars 31 forks source link

Refactor math.mc #831

Closed br4sco closed 5 months ago

br4sco commented 6 months ago

This PR restructures and extends the math.mc library. It moves most functions from math.mc into wither float.mc or int.mc.

Additions and changes to float.mc include the following.

https://github.com/miking-lang/miking-dppl/pull/161 should be merged together with this PR as this PR exposes a bug in the the cppl-to-mexpr compiler.