Files
tinygo/testdata
Ayke van Laethem 431e51b8a0 runtime: use dedicated printfloat32
It can be unexpected that printing a float32 involves 64-bit floating
point routines, see for example:
https://github.com/tinygo-org/tinygo/issues/1415

This commit adds a dedicated printfloat32 instead just for printing
float32 values. It comes with a possible code size increase, but only if
both float32 and float64 values are printed. Therefore, this should be
an improvement in almost all cases.

I also tried using printfloat32 for everything (and casting a float64 to
float32 to print) but the printed values are slightly different,
breaking the testdata/math.go test for example.
2020-10-02 11:26:22 +02:00
..
2019-09-20 10:35:49 +02:00
2019-09-20 10:35:49 +02:00
2020-05-12 01:17:27 +02:00
2019-05-11 15:33:37 +02:00
2020-01-27 19:01:55 +01:00
2020-05-12 01:17:27 +02:00
2019-09-24 18:16:43 +02:00
2019-02-05 19:37:21 +01:00
2019-02-05 19:37:21 +01:00
2020-10-02 11:26:22 +02:00
2020-10-02 11:26:22 +02:00
2018-10-20 17:22:51 +02:00
2019-10-13 23:07:47 +02:00
2019-10-13 23:07:47 +02:00
2020-05-12 01:17:27 +02:00