[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: barely floating

    In T (VMS), 2e2 is a legal floating point number. I doubt that you'll be
    able to guess its value. Clue: it's different from  2.e2  .
The problem is that T uses the system supplied floating point routines
to convert strings to floats.  T recognizes "2e2" as a float and then
calls the system routine to convert it.   Apparently, the system and
T have a different idea of what float "2e2" represents.  This will be
fixed when we write our own version of Unix's atof. (Volunteers?) 
Until then, stay away from borderline cases such as this.