GNU bug report logs - #5916
XFLOAT_DATA and signed zeroes

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Fri, 9 Apr 2010 23:54:02 UTC

Severity: normal

Done: Ken Raeburn <raeburn <at> raeburn.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 5916 <at> debbugs.gnu.org (full text, mbox):

From: Vincent Lefevre <vincent <at> vinc17.net>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 5916 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#5916: XFLOAT_DATA and signed zeroes
Date: Sat, 10 Apr 2010 18:43:13 +0200
On 2010-04-10 18:05:24 +0200, Andreas Schwab wrote:
> You can also use the unary + to create an rvalue.

MPFR uses:

#define MPFR_VALUE_OF(x)  (0 ? (x) : (x))

It was suggested by Wojtek Lerch and Tim Rentsch in comp.std.c.

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




This bug report was last modified 15 years and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.