This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Type-punning through casts in strtod.c "miscompiled" by gcc trunk


You must have an ancient copy of dtoa.c.  You really should
check for updates occasionally, either by sending "subscribe fp"
to netlib@ornl.gov (so you get automatic notification of updates)
or by manually checking every year or so.

The type-punning problem was fixed about eight years ago, and
there have been various other bug fixes.  As always, the current
source is available from netlib, e.g.,

	http://www.netlib.org/fp/dtoa.c
	http://netlib.sandia.gov/fp/dtoa.c.gz

See also the generalization

	http://www.netlib.org/fp/gdtoa.tgz
	http://netlib.sandia.gov/fp/gdtoa.tgz

-- Dave


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]