Paul Murphy
Paul Murphy
I've created #205 , that should provide an easier way to integrate libdfp and its project specific compiler options.
There will likely be some small differences between the two. The expd264 result is likely as accurate as libdfp can get (internally it uses libdecnumber to computer pow(2,x)) which should...
Yes, my reference was to the Nelson H.F Beebe book.
Hi, there are two decimal float features you are using. 1. _Decimal64 (and others) provided by gcc. 2. The printf feature to print _Decimal values. The second feature is passively...
I will need more information about your development environment to help. Some helpful bits would be the linux distro you are using, how you are invoking gcc on your example,...
Hi @newbie-02, the NEWS file has not been updated in as long. These days the release notes are contained in the generated ChangeLog file shipped with the release tarballs (which...
It is rounded by gcc at compile time. Setting the rounding mode at runtime won't change how gcc converts the number. Though, I agree libdfp shouldn't choose a constant approximation...
Investigating this further, gcc only supports round to nearest ties to even when compiling constants. This results in a correctly rounded value in this case. I'll still make the change...
Hi @dacodas thank you for your contribution. ~~Before accepting, we will need to verify your copyright assignment, unfortunately, it is a requirement for contributing to libdfp.~~ Sorry, I was mistaken,...
@dacodas sorry for the delay. I think it is OK to follow the layout of the existing code w.r.t parameterization. I was curious if it would be practical simplify them...