issues
search
quickjs-ng
/
quickjs
QuickJS, the Next Generation: a mighty JavaScript engine
MIT License
687
stars
66
forks
source link
Fix encoding bug in js_dtoa_radix
#399
Closed
chqrlie
closed
1 month ago
chqrlie
commented
1 month ago
fix radix conversion rounding code: incrementing the digit does not work for '9'. We can assume ASCII so it works for all other digits, especially all letters
also avoid recomputing the string length