Bug ... in Erlang

Kent Boortz kent@REDACTED
Tue Jun 17 14:20:13 CEST 2003


Joe Armstrong <joe@REDACTED> writes:
>  Try typing the following:
> 
> 	> 1.0e309.
> 
>  Is this a bug?

You mean

  Eshell V5.2.3.6  (abort with ^G)
  1> 1.0e309.
  ** 1: illegal float **
  1> 

Don't think it is a bug. On Solaris and Linux max double is defined as

  /usr/include/values.h:#define   MAXDOUBLE       1.79769313486231570e+308
  /usr/include/values.h:#define   MINDOUBLE       4.94065645841246544e-324

kent



More information about the erlang-questions mailing list