Subject: Re: libc arch/*/gen cleanup
To: None <christos@zoulas.com, simonb@wasabisystems.com>
From: None <eeh@netbsd.org>
List: tech-userlevel
Date: 10/29/2001 16:10:07
| Christos Zoulas wrote:
|
| > > 
| > >        union __infinity_u {
| > >                unsigned char val[8];
| > >                double dummy;
| > >        };
| > >        extern __const union __infinity_u __infinity;
| > >        #define HUGE_VAL        (*(__const double *)(__const void *)&__infinity)
| > 
| > I don't see why we need to have more than two union types. One for double
| > and one for float.
|
| Yes, true.  So "__double_u" and "__single_u" sound reasonable?  What
| about "long double", or that format not well defined?

long double can be either 80 or 128 bits depending on the machine.

Eduardo