Open kiedtl opened 5 months ago
Unsure if fixed point literals baked into the compiler are a good idea. If there's a way for modules to "claim" a literal suffix, with custom parsing code, that would be nice. Would probably be too complicated to implement however.
As for the syntax, if it is added: 3.14fs
or 3.14xs
? F for fixed point, x for... fixed point. (Reserving f
for a future half-float type.) S for short, of course.
In-progress on the fixpt branch.
TODO: