delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/04/11/08:41:34

X-Sybari-Space: 00000000 00000000 00000000 00000000
From: Martin Stromberg <Martin DOT Stromberg AT epl DOT ericsson DOT se>
Message-Id: <200304111241.OAA26358@lws256.lu.erisoft.se>
Subject: Re: %n$, *m$ and some other c99 support for doprnt.c
To: djgpp-workers AT delorie DOT com
Date: Fri, 11 Apr 2003 14:41:07 +0200 (MET DST)
In-Reply-To: <3E93C1ED.32C6571D@hrz1.hrz.tu-darmstadt.de> from "Juan Manuel Guerrero" at Apr 09, 2003 08:47:09 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

Hello.

> Index: djgpp/src/libc/ansi/stdio/doprnt.c
...
> +struct IEEExp {
> +  unsigned manl:32;
> +  unsigned manh:32;
> +  unsigned exp:15;
> +  unsigned sign:1;
> +};

What is wrong with long_double_t from libc/ieee.h?

...

> +#define GET_STAR_ARG_NUMBER()                                                   \

Long macros deleted.

Why macros? I don't mind (it's your code), but isn't it better (easier
to read and maintain) to make them functions?


Right,

						MartinS

- Raw text -


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