Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: P1788 input/output



On 2013-06-28 14:05:32 -0400, Michel Hack wrote:
> Unfortunately few environments comply with the 754-2008 requirement that
> there be numeric-to-string conversions that honour a current rounding mode.
> Note that the ISO/IEC 9899:201x draft (N1539) for C does require that the
> current rounding mode be honoured: Clause F.5, Binary-decimal conversion.

This was already the case in C99, but implementations can be buggy
in practice. This was recently fixed in the GNU libc:

  http://sourceware.org/bugzilla/show_bug.cgi?id=5044

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