15e114f5c5
* mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files. * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org sources as of Apr. 20, 2009. Update further to match the sources in the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the double/ulong union from U to dbl_union for better grepping and white- space tidy-ups.
20 lines
750 B
Plaintext
20 lines
750 B
Plaintext
The gdtoa code here is based on David M. Gay's original
|
|
gdtoa source at http://www.netlib.org/fp/ from April 20,
|
|
2009. The major changes between the original source and
|
|
the mingw port here include:
|
|
|
|
* IBM, CRAY and VAX code removed.
|
|
* KR_headers, ANSI, Void and Char ifdefs are removed.
|
|
* gdtoa symbols are prepended with "__".
|
|
* g_xfmt() uses __fpclassifyl() instead of interpreting
|
|
the flags bit-wise.
|
|
* lo0bits() and hi0bits() of misc.c replaced by wrappers
|
|
to gcc's __builtin_clz()
|
|
* The double/ulong union renamed from U to dbl_union
|
|
(grep'ped better..)
|
|
* A few compiler warning fixes here and there.
|
|
* A few other insignificant changes (if any..)
|
|
|
|
MinGW specific compile-time definitions are at the top of
|
|
gdtoaimp.h and gdtoa.h headers.
|