From: Tsung-lung Li (quantum@stein1.u.washington.edu)
Date: 08/28/93


From: quantum@stein1.u.washington.edu (Tsung-lung Li)
Subject: Bug in atof?
Date: 28 Aug 1993 21:08:39 GMT


Hello,

If I am doing right in the following program, I have found a bug in "atof".

#include <math.h>
#include <stdio.h>

main()
{
    static char st[80] = {'1', 'E', '+', '4'};
    float x;

    x = atof( st );
    printf( "%s %f\n", st, x );
}

Execution results:
1E+4 1.000000

If you think I have done anything incorrect, please e-mail me at
        quantum@u.washington.edu
Thank you.

Tsung