Irix6 casting long double to double yields bogus results
Alexandre Oliva
aoliva@redhat.com
Thu Jan 30 10:27:00 GMT 2003
On Jan 29, 2003, "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> wrote:
> I've been running some tests on irix6 floating point and noticed a
> problem. Casting from long double to double seems to be broken now.
I doubt it ever worked with software-emulated 128-bit long doubles :-(
I hate the convoluted logic we use to decide whether to declare the
__make_[sdt]f functions. I'm checking this obvious patch in for now,
but it would be really nice to clean it up and consolidate the several
duplicate declarations into more logical conditions. Permission to
proceed?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: long-double-to-double.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030130/c381ca65/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the Gcc-bugs
mailing list