Date: Sun, 9 Feb 2003 18:02:59 -0800 From: David Schultz <dschultz@uclink.Berkeley.EDU> To: Dag-Erling Smorgrav <des@ofug.org> Cc: Lukas Ertl <l.ertl@univie.ac.at>, standards@FreeBSD.ORG Subject: Re: C99 floating point macros Message-ID: <20030210020259.GA4103@HAL9000.homeunix.com> In-Reply-To: <xzpadh5qabg.fsf@flood.ping.uio.no> References: <20030207194848.N353@leelou.in.tern> <20030208112619.GA15718@HAL9000.homeunix.com> <20030208130529.C355@leelou.in.tern> <20030209003350.GA20683@HAL9000.homeunix.com> <xzpadh5qabg.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Dag-Erling Smorgrav <des@ofug.org>: > David Schultz <dschultz@uclink.Berkeley.EDU> writes: > > Hmm...why not just use some macros, like this? > > Macros behave strangely when invoked with arguments which have side > effects. Doh! I should have seen that. I'll wrap them in a do...while(0) with a local variable. Thanks for the catch! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030210020259.GA4103>