kopilua icon indicating copy to clipboard operation
kopilua copied to clipboard

lua_str2number

Open gerich-home opened this issue 14 years ago • 0 comments

The handling of lua_str2number() errors is a bit of a hack job at the moment. If the number being converted is outside the allowable range then the function is supposed to return either positive or negative infinity. The current code will return the correct value in most non-pathological cases but it needs additional work to make it more robust.

gerich-home avatar Sep 28 '10 02:09 gerich-home