\left(bx - ax\right) \cdot \left(cy - ay\right) - \left(by - ay\right) \cdot \left(cx - ax\right)
\left(bx - ax\right) \cdot \left(cy - ay\right) - \left(by - ay\right) \cdot \left(cx - ax\right)
double code(double bx, double ax, double cy, double ay, double by, double cx) {
return ((double) (((double) (((double) (bx - ax)) * ((double) (cy - ay)))) - ((double) (((double) (by - ay)) * ((double) (cx - ax))))));
}
double code(double bx, double ax, double cy, double ay, double by, double cx) {
return ((double) (((double) (((double) (bx - ax)) * ((double) (cy - ay)))) - ((double) (((double) (by - ay)) * ((double) (cx - ax))))));
}



Bits error versus bx



Bits error versus ax



Bits error versus cy



Bits error versus ay



Bits error versus by



Bits error versus cx
Results
Initial program 8.1
Final simplification8.1
herbie shell --seed 2020153
(FPCore (bx ax cy ay by cx)
:name "(- (* (- bx ax) (- cy ay)) (* (- by ay) (- cx ax)))"
:precision binary64
(- (* (- bx ax) (- cy ay)) (* (- by ay) (- cx ax))))