Files
Upsilon/build
Léa Saviot b8fbc35793 [emscripten] Fix float rouding errors when computing grid axis labels
Emscripten converts C++ floats to doubles, which produces rounding
errors. In the Graph application, when displaying y=sin(x), the ordinate
'1' displayed "10" instead, because the exponent of 1000f was wrongly
computed.
To prevent this, we add the -s PRECISE_F32=1 flag, which uses 32-bits
floating point values for floats.
See https://kripken.github.io/emscripten-site/docs/getting_started/FAQ.html#why-do-i-get-odd-rounding-errors-when-using-float-variables
2018-06-18 16:33:44 +02:00
..
2017-04-20 09:51:29 +02:00
2018-06-12 17:27:17 +02:00
2018-05-07 21:05:30 +02:00
2017-02-16 11:00:57 +01:00