Average Error: 0 → 0
Time: 998.0ms
Precision: 64
\[log1 - log2\]
\[log1 - log2\]
log1 - log2
log1 - log2
double f(double log1, double log2) {
        double r58843834 = log1;
        double r58843835 = log2;
        double r58843836 = r58843834 - r58843835;
        return r58843836;
}

double f(double log1, double log2) {
        double r58843837 = log1;
        double r58843838 = log2;
        double r58843839 = r58843837 - r58843838;
        return r58843839;
}

Error

Bits error versus log1

Bits error versus log2

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[log1 - log2\]
  2. Final simplification0

    \[\leadsto log1 - log2\]

Reproduce

herbie shell --seed 1 
(FPCore (log1 log2)
  :name "log1-log2"
  (- log1 log2))