Bug ... in Erlang
Raimo Niskanen
raimo.niskanen@REDACTED
Wed Jun 18 20:33:49 CEST 2003
Why not, go ahead. It will not be included in R9C, though.
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
Einar Karttunen wrote:
> On 18.06 14:19, Raimo Niskanen wrote:
>
>>So, list_to_float/1 has been rewritten to use strtod() (previously
>>atof() on Unixish systems and sscanf("%lf",..) on Windows) and check
>>errors on all platforms. Hopefully no more malicious floats.
>>
>
>
> I have a patch for replacing various sscanf:s with strtod / strtol,
> if you are interested. Mainly a cosmetic thing, but should be a
> tiny bit faster too...
>
> ps. if you want it I can send it to the patches list.
>
> - Einar Karttunen
More information about the erlang-questions
mailing list