frank-lang / frank

Frank compiler
GNU General Public License v3.0
272 stars 9 forks source link

Floats #6

Open leopoulson opened 4 years ago

leopoulson commented 4 years ago

This adds support for floating point numbers and operations on them. We have a new built-in type Float, and operations on Floats; +., -., /., *., <., >., ==..

We also have operations for converting from Int to Float and vice versa, toFloat and round respectively.