Closed urschrei closed 8 years ago
Looking at this a little more closely, it seems that the functions do exist, but they're named differently:
log1p
is ln_1p
(it's actually an unsafe call to cmath::log1p
) in f64
. Similarly, exp_m1
is a call to cmath::expm1
. I assume that Herbie.db
has references to standard function names, and these were changed in std::f64
for some reason…
Thanks for the report. This should be fixed in 1.0.3.
Just tried it, and works as expected. Thanks! ✨
If you have any other problem or suggestion, don’t hesitate :smile:
I've just run Herbie on some floating-point operations using Nightly, and I get this:
Which is great! But there's no
log1p
function in Rust as far as I can see…it exists in theGSL
crate (which is a wrapper around GNU GSL), but that's not obvious: