Closed fp4code closed 2 years ago
cc @stevengj
Yes, this patch should be applied to openspecfun too. In practice, probably all of the platforms supported by openspecfun have a copysign
function, so my_copysign
is never invoked, but still would be good to patch.
Closed by #55. I don't think a new release is necessary immediately for reasons mentioned above, but if I do end up excising rem_pio2
, the new binaries will include this fix too.
Comparing Faddeeva/Faddeeva.cc with http://ab-initio.mit.edu/Faddeeva.cc we obtain
The function
my_copysign
is clearly wrong.