This is the mail archive of the
mailing list for the GCC project.
Re: Are Decimal operations are fully implemented/tested ?
On 2012-09-12 15:55:16 +0300, Hesham Moustafa wrote:
> If exist, what are the known bugs in the current implementation of
> Decimal / IEEE 754-2008 standard ?
I don't know any reported bug of the decimal implementation (though
PR 37845 about the FP_CONTRACT pragma, which affects binary on some
machines, might also affect decimal in some distant future if it is
still not fixed).
But if you want an example, I don't think that the formatOf
arithmetic operations (IEEE 754-2008 §5.4.1 -- that's a "shall")
are implemented by GCC, either for binary or for decimal, say
add two _Decimal128 numbers and round to _Decimal64 directly
(with a single rounding).
Vincent Lefèvre <firstname.lastname@example.org> - 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)