--- bootstrap <[EMAIL PROTECTED]> wrote:
> > typedef union {
> > int64_t i;
> > double d;
> > } f64;
>
> No doubt about what you say, but this question remains.
> If f64 variables are now a structure-type rather than just
> an alias for "double", what happens in the 58493 places
> where my code passes f64 variables into functions?
> I am worried about library and system functions that
> expect conventional "double" arguments.
Being a f64 fa use expect_double (fa.d);
And being a f64 *fp use expect_double (fp->d);
Did you read the files I mentioned?
At Cygwin such union already exists:
union __dmath
{
__ULong i[2];
double d;
};
union __fmath
{
__ULong i[1];
float f;
};
union __ldmath
{
__ULong i[4];
_LONG_DOUBLE ld;
};
At other architectures a double is a quad and your program is buggy.
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para
armazenamento!
http://br.mail.yahoo.com/