\[d1 \cdot d2 + d1 \cdot d3\]
Test:
FastMath dist
Bits:
128 bits
Bits error versus d1
Bits error versus d2
Bits error versus d3
Time: 4.7 s
Input Error: 0.1
Output Error: 0.0
Log:
Profile: 🕒
\(\left(d2 + d3\right) \cdot d1\)
  1. Started with
    \[d1 \cdot d2 + d1 \cdot d3\]
    0.1
  2. Applied simplify to get
    \[\color{red}{d1 \cdot d2 + d1 \cdot d3} \leadsto \color{blue}{\left(d2 + d3\right) \cdot d1}\]
    0.0

  3. Removed slow pow expressions

Original test:


(lambda ((d1 default) (d2 default) (d3 default))
  #:name "FastMath dist"
  (+ (* d1 d2) (* d1 d3))
  #:target
  (* d1 (+ d2 d3)))