delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/06/21/08:41:58

From: <ams AT ludd DOT luth DOT se>
Message-Id: <200306211241.h5LCfqo3019787@speedy.ludd.luth.se>
Subject: Re: LIBM patch for GCC 3.3 - math changes
In-Reply-To: <002001c337f0$0d2a4aa0$0100a8c0@acp42g> "from Andrew Cottrell at
Jun 21, 2003 10:24:23 pm"
To: djgpp-workers AT delorie DOT com
Date: Sat, 21 Jun 2003 14:41:52 +0200 (CEST)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-MailScanner: Found to be clean
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Andrew Cottrell:
> > > + typedef union
> > > + {
> > > +   float f;
> > > +   long  l;
> > > + } _float_long_union;
> >
> > Why aren't you using float_t here?
> 
> The math code uses float (doesn't use float_t) and I thought that this may
> be the most appropriate place to put this union as the math code in allot of
> the places has ieee prefixes in the function names.
> 
> If this is wrong then please let me know where I should put the definition.

Ok. But you'll need to add _float_union or something for strtof.c
later on, if I'm not totally mistaken.


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019