mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
* fix: change float format specifier in Object.to_format Fix the float format specifier in Object.to_format. If there is a float stored in a Object such as 3.14, it would be printed out as 3 because the format specifier is %d but should be %g. * fix: print nan in floatformat Fix floatformat to print 'nan' if float is nan. Currently, io::printn(float.nan) will produce 'inf' instead of 'nan'.