Average Error: 0.1 → 0.1
Time: 609.0ms
Precision: binary64
\[1 - \mathsf{erf}\left(a\right)\]
\[1 - \mathsf{erf}\left(a\right)\]
1 - \mathsf{erf}\left(a\right)
1 - \mathsf{erf}\left(a\right)
double code(double a) {
	return ((double) (1.0 - ((double) erf(a))));
}
double code(double a) {
	return ((double) (1.0 - ((double) erf(a))));
}

Error

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[1 - \mathsf{erf}\left(a\right)\]
  2. Final simplification0.1

    \[\leadsto 1 - \mathsf{erf}\left(a\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (a)
  :name "(- 1 (erf a))"
  :precision binary64
  (- 1.0 (erf a)))