On Wed, 29 Jun 2011 17:18:17 +0200 Bastien ROUCARIES <[email protected]> wrote:
> On Wed, Jun 29, 2011 at 4:51 PM, Christoph Nodes > <[email protected]> wrote: > > On Wed, 29 Jun 2011 15:37:08 +0200 > > Bastien ROUCARIES <[email protected]> wrote: > > > >> Could you post also the printf patch and the rational for this > >> patch ? > > Do you know this bug? > http://sourceware.org/bugzilla/show_bug.cgi?id=5044 > > You could get the correct version without using your hack by doing > fesetround(mode) > and after using directly printf Thanks for the hint, but fesetround affects the rounding of the result of floating-point calculations not the rounding of printf. We only want to affect the printing. Best regards, Christoph -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

