delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/09/30/09:00:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Sybari-Space: 00000000 00000000 00000000 00000000
From: Martin Stromberg <Martin DOT Stromberg AT epl DOT ericsson DOT se>
Message-Id: <200309301259.OAA10016@lws256.lu.erisoft.se>
Subject: Re: K. B. Williams's comparison macros [PATCH]
To: djgpp-workers AT delorie DOT com
Date: Tue, 30 Sep 2003 14:59:37 +0200 (MET DST)
In-Reply-To: <E1A3Xuc-0001Q1-00@phekda.freeserve.co.uk> from "Richard Dawe" at Sep 28, 2003 10:42:21 AM
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
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

> I wonder if this works with gcc < 3? Do they have builtin versions
> of these functions? I think we should support gcc < 3. So I think
> we need our own implementation of these macros.
> 
> Thanks, bye, Rich =]
> 
> Index: include/math.h
> ===================================================================
> RCS file: /cvs/djgpp/djgpp/include/math.h,v
> retrieving revision 1.9
> diff -p -u -3 -r1.9 math.h
> --- include/math.h	3 Sep 2003 17:05:22 -0000	1.9
> +++ include/math.h	28 Sep 2003 09:28:11 -0000
> @@ -79,6 +79,13 @@ int __fpclassifyf(float) __attribute__((
>  int __fpclassifyd(double) __attribute__((const));
>  int __fpclassifyld(long double) __attribute__((const));
>  
> +#define	isgreater(x,y)		__builtin_isgreater(x,y)
> +#define	isgreaterequal(x,y)	__builtin_isgreaterequal(x,y)
...

I'm not sure but this doesn't look to me like an implementation but a
definte not implemented here.


Right,

						MartinS

- Raw text -


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