Bug ... in Erlang

Raimo Niskanen raimo.niskanen@REDACTED
Tue Jun 17 18:57:46 CEST 2003


Can everybody try:



17> erlang:list_to_float("1.0e309").

=ERROR REPORT==== 17-Jun-2003::18:54:46 ===
Error in process <0.46.0> with exit value: 
{badarg,[{erlang,list_to_float,["1.0e309"]},{erl_eval,do_apply,5},{shell,eval_loop,2}]}

** exited: {badarg,[{erlang,list_to_float,["1.0e309"]},
                     {erl_eval,do_apply,5},
                     {shell,eval_loop,2}]} **



on all your fancy platforms and see what you get. We might have at least 
two competing problems here.

/ Raimo Niskanen, Erlang/OTP, Ericsson AB.



Björn Bylander wrote:
> Windows 2000 Professional:
> 
> Eshell V5.2  (abort with ^G)
> 1> 1.0e309.
> 1.00000e+0
> 
> Kent Boortz wrote:
> 
>> You mean
>>
>>  Eshell V5.2.3.6  (abort with ^G)
>>  1> 1.0e309.
>>  ** 1: illegal float **
>>  1>  
>>
> 




More information about the erlang-questions mailing list