Average Error: 0.0 → 0.0
Time: 851.0ms
Precision: 64
\[\mathsf{log1p}\left(x\right)\]
\[\mathsf{log1p}\left(x\right)\]
\mathsf{log1p}\left(x\right)
\mathsf{log1p}\left(x\right)
double f(double x) {
        double r1179874 = x;
        double r1179875 = log1p(r1179874);
        return r1179875;
}

double f(double x) {
        double r1179876 = x;
        double r1179877 = log1p(r1179876);
        return r1179877;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\mathsf{log1p}\left(x\right)\]
  2. Final simplification0.0

    \[\leadsto \mathsf{log1p}\left(x\right)\]

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "log1p(x)"
  :precision binary64
  (log1p x))