This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: gcc compiler bug


On Wed, 31 May 2000, Dale Williamson wrote:

> Synopsis: under certain circumstances the bits of a double number re-
> turned from a function may not be reliably transferred to a variable
> across an equal sign, as in the expression: (double)X = (double)func()

I think you need to read an 80x87 programmer's reference. :-)

Hint: The first two bit patterns you're playing with are NaNs.

-- 
Linuxcare.  Support for the Revolution.


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