in reply to Re^8: [OT: JavaScript] JS remainder operation ('%')
in thread [OT: JavaScript] JS remainder operation ('%')
My guess is that stringification of floats happens with sprintf "%.15g"
Though the default max-precision for format g seems to be 6, both in Perl and C. ¹
I started testing this theory, but it's a bit cumbersome inside termux. :)
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
¹) According to online docs:
|
|---|