Average Error: 16.1 → 16.1
Time: 763.0ms
Precision: binary64
\[\mathsf{log1p}\left({x}^{2}\right)\]
\[\mathsf{log1p}\left({x}^{2}\right)\]
\mathsf{log1p}\left({x}^{2}\right)
\mathsf{log1p}\left({x}^{2}\right)
double code(double x) {
	return ((double) log1p(((double) pow(x, 2.0))));
}
double code(double x) {
	return ((double) log1p(((double) pow(x, 2.0))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 16.1

    \[\mathsf{log1p}\left({x}^{2}\right)\]
  2. Final simplification16.1

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

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(log1p (pow x 2))"
  :precision binary64
  (log1p (pow x 2.0)))