Bug ... in Erlang
Tue Jun 17 15:49:30 CEST 2003
Would not the *proper* behaviour be to implement a big-float mechanism, in
the same spirit as for integers?
> -----Original Message-----
> From: owner-erlang-questions@REDACTED
> [mailto:owner-erlang-questions@REDACTED]On Behalf Of Serge Aleynikov
> Sent: den 17 juni 2003 15:16
> To: Joe Armstrong
> Cc: erlang-questions@REDACTED
> Subject: Re: Bug ... in Erlang
> I am not sure about Erlang, but in C (32bit) the highest value in the
> range of the double precision floating point type is 1.700000E+308
> I suppose the proper behavior would be to get an illegal floating point
> exception thrown.
> 19> 1.799E+308.
> 20> 1.79E+308.
> Joe Armstrong wrote:
> > Try typing the following:
> > > 1.0e309.
> > Is this a bug?
> > /Joe
More information about the erlang-questions