|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2006-09-24 13:00:14
"Lars Gullik Bjønnes" wrote:
> On gcc 4.1.1 glibc 2.4 x86_64 linux.
>
> If I use asinhf from glibc then the test works, if I use asinh from
> boost::math then it fails. (This is for float)
Perplexing, it probably needs someone with an interest in numerics to debug
it on that platform to figure this out, especially as the asinh code for
that test case is a completely trivial:
return( log( x + sqrt(x*x+one) ) );
We might be able to eliminate a couple of obvious ones though: can you find
out what std::sinh(3.8F) returns? First 9 digits please :-)
Then what happens if you add a boost::math:: qualifier to the asinh call in
asinh_test.hpp and re-run the test?
I'm also pleased to see I'm not the only person who mis-types "math" as
"match"!! :-)
Regards, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk