
(FPCore (z)
:precision binary64
(let* ((t_0 (- (- 1.0 z) 1.0)) (t_1 (+ t_0 7.0)) (t_2 (+ t_1 0.5)))
(*
(/ (PI) (sin (* (PI) z)))
(*
(* (* (sqrt (* (PI) 2.0)) (pow t_2 (+ t_0 0.5))) (exp (- t_2)))
(+
(+
(+
(+
(+
(+
(+
(+ 0.9999999999998099 (/ 676.5203681218851 (+ t_0 1.0)))
(/ -1259.1392167224028 (+ t_0 2.0)))
(/ 771.3234287776531 (+ t_0 3.0)))
(/ -176.6150291621406 (+ t_0 4.0)))
(/ 12.507343278686905 (+ t_0 5.0)))
(/ -0.13857109526572012 (+ t_0 6.0)))
(/ 9.984369578019572e-6 t_1))
(/ 1.5056327351493116e-7 (+ t_0 8.0)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(1 - z\right) - 1\\
t_1 := t\_0 + 7\\
t_2 := t\_1 + 0.5\\
\frac{\mathsf{PI}\left(\right)}{\sin \left(\mathsf{PI}\left(\right) \cdot z\right)} \cdot \left(\left(\left(\sqrt{\mathsf{PI}\left(\right) \cdot 2} \cdot {t\_2}^{\left(t\_0 + 0.5\right)}\right) \cdot e^{-t\_2}\right) \cdot \left(\left(\left(\left(\left(\left(\left(\left(0.9999999999998099 + \frac{676.5203681218851}{t\_0 + 1}\right) + \frac{-1259.1392167224028}{t\_0 + 2}\right) + \frac{771.3234287776531}{t\_0 + 3}\right) + \frac{-176.6150291621406}{t\_0 + 4}\right) + \frac{12.507343278686905}{t\_0 + 5}\right) + \frac{-0.13857109526572012}{t\_0 + 6}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{t\_1}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{t\_0 + 8}\right)\right)
\end{array}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 15 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (z)
:precision binary64
(let* ((t_0 (- (- 1.0 z) 1.0)) (t_1 (+ t_0 7.0)) (t_2 (+ t_1 0.5)))
(*
(/ (PI) (sin (* (PI) z)))
(*
(* (* (sqrt (* (PI) 2.0)) (pow t_2 (+ t_0 0.5))) (exp (- t_2)))
(+
(+
(+
(+
(+
(+
(+
(+ 0.9999999999998099 (/ 676.5203681218851 (+ t_0 1.0)))
(/ -1259.1392167224028 (+ t_0 2.0)))
(/ 771.3234287776531 (+ t_0 3.0)))
(/ -176.6150291621406 (+ t_0 4.0)))
(/ 12.507343278686905 (+ t_0 5.0)))
(/ -0.13857109526572012 (+ t_0 6.0)))
(/ 9.984369578019572e-6 t_1))
(/ 1.5056327351493116e-7 (+ t_0 8.0)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(1 - z\right) - 1\\
t_1 := t\_0 + 7\\
t_2 := t\_1 + 0.5\\
\frac{\mathsf{PI}\left(\right)}{\sin \left(\mathsf{PI}\left(\right) \cdot z\right)} \cdot \left(\left(\left(\sqrt{\mathsf{PI}\left(\right) \cdot 2} \cdot {t\_2}^{\left(t\_0 + 0.5\right)}\right) \cdot e^{-t\_2}\right) \cdot \left(\left(\left(\left(\left(\left(\left(\left(0.9999999999998099 + \frac{676.5203681218851}{t\_0 + 1}\right) + \frac{-1259.1392167224028}{t\_0 + 2}\right) + \frac{771.3234287776531}{t\_0 + 3}\right) + \frac{-176.6150291621406}{t\_0 + 4}\right) + \frac{12.507343278686905}{t\_0 + 5}\right) + \frac{-0.13857109526572012}{t\_0 + 6}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{t\_1}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{t\_0 + 8}\right)\right)
\end{array}
\end{array}
(FPCore (z)
:precision binary64
(let* ((t_0 (log1p (- (- z) -6.5)))
(t_1 (+ (+ -6.5 z) -1.0))
(t_2 (fma (- (- 1.0 z) 0.5) t_0 t_1))
(t_3 (- (+ -1.0 z) -1.0))
(t_4 (* (log (* 2.0 (PI))) 0.5))
(t_5 (- (- 1.0 z) 1.0)))
(*
(*
(-
(-
(-
(-
(+
(/
-176.6150291621406
(/ -1.0 (/ (- 4.0 t_5) (- (pow t_5 2.0) 16.0))))
(+
(/ 771.3234287776531 (+ 3.0 t_5))
(+
(/ -1259.1392167224028 (+ t_5 2.0))
(+ (/ 676.5203681218851 (- t_5 -1.0)) 0.9999999999998099))))
(/ 12.507343278686905 (- t_3 5.0)))
(/ -0.13857109526572012 (- t_3 6.0)))
(/ 9.984369578019572e-6 (- t_3 7.0)))
(/ 1.5056327351493116e-7 (- t_3 8.0)))
(/
(exp (/ (pow t_4 2.0) (- t_4 t_2)))
(exp (/ (pow t_2 2.0) (- t_4 (fma (* (- (/ 0.5 z) 1.0) z) t_0 t_1))))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \mathsf{log1p}\left(\left(-z\right) - -6.5\right)\\
t_1 := \left(-6.5 + z\right) + -1\\
t_2 := \mathsf{fma}\left(\left(1 - z\right) - 0.5, t\_0, t\_1\right)\\
t_3 := \left(-1 + z\right) - -1\\
t_4 := \log \left(2 \cdot \mathsf{PI}\left(\right)\right) \cdot 0.5\\
t_5 := \left(1 - z\right) - 1\\
\left(\left(\left(\left(\left(\left(\frac{-176.6150291621406}{\frac{-1}{\frac{4 - t\_5}{{t\_5}^{2} - 16}}} + \left(\frac{771.3234287776531}{3 + t\_5} + \left(\frac{-1259.1392167224028}{t\_5 + 2} + \left(\frac{676.5203681218851}{t\_5 - -1} + 0.9999999999998099\right)\right)\right)\right) - \frac{12.507343278686905}{t\_3 - 5}\right) - \frac{-0.13857109526572012}{t\_3 - 6}\right) - \frac{9.984369578019572 \cdot 10^{-6}}{t\_3 - 7}\right) - \frac{1.5056327351493116 \cdot 10^{-7}}{t\_3 - 8}\right) \cdot \frac{e^{\frac{{t\_4}^{2}}{t\_4 - t\_2}}}{e^{\frac{{t\_2}^{2}}{t\_4 - \mathsf{fma}\left(\left(\frac{0.5}{z} - 1\right) \cdot z, t\_0, t\_1\right)}}}\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
associate-*l*N/A
lift-sqrt.f64N/A
pow1/2N/A
pow-to-expN/A
lift-pow.f64N/A
pow-to-expN/A
lift-exp.f64N/A
prod-expN/A
Applied rewrites97.8%
Applied rewrites99.1%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
lower--.f64N/A
associate-*r/N/A
metadata-evalN/A
lower-/.f6499.2
Applied rewrites99.2%
lift-+.f64N/A
flip-+N/A
clear-numN/A
lower-/.f64N/A
lower-/.f64N/A
lower--.f64N/A
lower--.f64N/A
pow2N/A
lower-pow.f64N/A
metadata-eval99.2
Applied rewrites99.2%
Final simplification99.2%
(FPCore (z)
:precision binary64
(let* ((t_0 (+ (+ -6.5 z) -1.0))
(t_1 (* (log (* 2.0 (PI))) 0.5))
(t_2 (- (- 1.0 z) 1.0))
(t_3 (log1p (- (- z) -6.5)))
(t_4 (fma (- (- 1.0 z) 0.5) t_3 t_0)))
(*
(*
(+
(+
(+
(+
(+
(/ -176.6150291621406 (+ 4.0 t_2))
(+
(/ 771.3234287776531 (+ 3.0 t_2))
(+
(/ -1259.1392167224028 (+ t_2 2.0))
(+ (/ 676.5203681218851 (- t_2 -1.0)) 0.9999999999998099))))
(/ 12.507343278686905 (+ 5.0 t_2)))
(/ -0.13857109526572012 (+ 6.0 t_2)))
(/ 9.984369578019572e-6 (+ 7.0 t_2)))
(/ 1.5056327351493116e-7 (+ 8.0 t_2)))
(/
(exp (/ (pow t_1 2.0) (- t_1 t_4)))
(exp (/ (pow t_4 2.0) (- t_1 (fma (* (- (/ 0.5 z) 1.0) z) t_3 t_0))))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(-6.5 + z\right) + -1\\
t_1 := \log \left(2 \cdot \mathsf{PI}\left(\right)\right) \cdot 0.5\\
t_2 := \left(1 - z\right) - 1\\
t_3 := \mathsf{log1p}\left(\left(-z\right) - -6.5\right)\\
t_4 := \mathsf{fma}\left(\left(1 - z\right) - 0.5, t\_3, t\_0\right)\\
\left(\left(\left(\left(\left(\left(\frac{-176.6150291621406}{4 + t\_2} + \left(\frac{771.3234287776531}{3 + t\_2} + \left(\frac{-1259.1392167224028}{t\_2 + 2} + \left(\frac{676.5203681218851}{t\_2 - -1} + 0.9999999999998099\right)\right)\right)\right) + \frac{12.507343278686905}{5 + t\_2}\right) + \frac{-0.13857109526572012}{6 + t\_2}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{7 + t\_2}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_2}\right) \cdot \frac{e^{\frac{{t\_1}^{2}}{t\_1 - t\_4}}}{e^{\frac{{t\_4}^{2}}{t\_1 - \mathsf{fma}\left(\left(\frac{0.5}{z} - 1\right) \cdot z, t\_3, t\_0\right)}}}\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
associate-*l*N/A
lift-sqrt.f64N/A
pow1/2N/A
pow-to-expN/A
lift-pow.f64N/A
pow-to-expN/A
lift-exp.f64N/A
prod-expN/A
Applied rewrites97.8%
Applied rewrites99.1%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
lower--.f64N/A
associate-*r/N/A
metadata-evalN/A
lower-/.f6499.2
Applied rewrites99.2%
Final simplification99.2%
(FPCore (z)
:precision binary64
(let* ((t_0 (log1p (fma -1.0 z 6.5)))
(t_1 (fma t_0 (- (- 1.0 z) 0.5) (+ -7.5 z)))
(t_2 (log (* 2.0 (PI))))
(t_3 (* t_2 0.5))
(t_4 (- (- 1.0 z) 1.0)))
(*
(*
(*
(exp
(/ (pow t_1 2.0) (- (fma (* (- (/ 0.5 z) 1.0) z) t_0 (+ -7.5 z)) t_3)))
(exp (/ (* 0.25 (pow t_2 2.0)) (- t_3 t_1))))
(+
(+
(+
(+
(+
(/ -176.6150291621406 (+ 4.0 t_4))
(+
(/ 771.3234287776531 (+ 3.0 t_4))
(+
(/ -1259.1392167224028 (+ t_4 2.0))
(+ (/ 676.5203681218851 (- t_4 -1.0)) 0.9999999999998099))))
(/ 12.507343278686905 (+ 5.0 t_4)))
(/ -0.13857109526572012 (+ 6.0 t_4)))
(/ 9.984369578019572e-6 (+ 7.0 t_4)))
(/ 1.5056327351493116e-7 (+ 8.0 t_4))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \mathsf{log1p}\left(\mathsf{fma}\left(-1, z, 6.5\right)\right)\\
t_1 := \mathsf{fma}\left(t\_0, \left(1 - z\right) - 0.5, -7.5 + z\right)\\
t_2 := \log \left(2 \cdot \mathsf{PI}\left(\right)\right)\\
t_3 := t\_2 \cdot 0.5\\
t_4 := \left(1 - z\right) - 1\\
\left(\left(e^{\frac{{t\_1}^{2}}{\mathsf{fma}\left(\left(\frac{0.5}{z} - 1\right) \cdot z, t\_0, -7.5 + z\right) - t\_3}} \cdot e^{\frac{0.25 \cdot {t\_2}^{2}}{t\_3 - t\_1}}\right) \cdot \left(\left(\left(\left(\left(\frac{-176.6150291621406}{4 + t\_4} + \left(\frac{771.3234287776531}{3 + t\_4} + \left(\frac{-1259.1392167224028}{t\_4 + 2} + \left(\frac{676.5203681218851}{t\_4 - -1} + 0.9999999999998099\right)\right)\right)\right) + \frac{12.507343278686905}{5 + t\_4}\right) + \frac{-0.13857109526572012}{6 + t\_4}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{7 + t\_4}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_4}\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
associate-*l*N/A
lift-sqrt.f64N/A
pow1/2N/A
pow-to-expN/A
lift-pow.f64N/A
pow-to-expN/A
lift-exp.f64N/A
prod-expN/A
Applied rewrites97.8%
Applied rewrites99.1%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
lower--.f64N/A
associate-*r/N/A
metadata-evalN/A
lower-/.f6499.2
Applied rewrites99.2%
Applied rewrites99.2%
Final simplification99.2%
(FPCore (z)
:precision binary64
(let* ((t_0 (- (- 1.0 z) 1.0))
(t_1 (* (log (* 2.0 (PI))) 0.5))
(t_2
(fma (- (- 1.0 z) 0.5) (log1p (- (- z) -6.5)) (+ (+ -6.5 z) -1.0)))
(t_3 (- t_1 t_2)))
(*
(*
(/ (exp (/ (pow t_1 2.0) t_3)) (exp (/ (pow t_2 2.0) t_3)))
(+
(+
(+
(+
(+
(/ -176.6150291621406 (+ 4.0 t_0))
(+
(/ 771.3234287776531 (+ 3.0 t_0))
(+
(/ -1259.1392167224028 (+ t_0 2.0))
(+ (/ 676.5203681218851 (- t_0 -1.0)) 0.9999999999998099))))
(/ 12.507343278686905 (+ 5.0 t_0)))
(/ -0.13857109526572012 (+ 6.0 t_0)))
(/ 9.984369578019572e-6 (+ 7.0 t_0)))
(/ 1.5056327351493116e-7 (+ 8.0 t_0))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(1 - z\right) - 1\\
t_1 := \log \left(2 \cdot \mathsf{PI}\left(\right)\right) \cdot 0.5\\
t_2 := \mathsf{fma}\left(\left(1 - z\right) - 0.5, \mathsf{log1p}\left(\left(-z\right) - -6.5\right), \left(-6.5 + z\right) + -1\right)\\
t_3 := t\_1 - t\_2\\
\left(\frac{e^{\frac{{t\_1}^{2}}{t\_3}}}{e^{\frac{{t\_2}^{2}}{t\_3}}} \cdot \left(\left(\left(\left(\left(\frac{-176.6150291621406}{4 + t\_0} + \left(\frac{771.3234287776531}{3 + t\_0} + \left(\frac{-1259.1392167224028}{t\_0 + 2} + \left(\frac{676.5203681218851}{t\_0 - -1} + 0.9999999999998099\right)\right)\right)\right) + \frac{12.507343278686905}{5 + t\_0}\right) + \frac{-0.13857109526572012}{6 + t\_0}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{7 + t\_0}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_0}\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
associate-*l*N/A
lift-sqrt.f64N/A
pow1/2N/A
pow-to-expN/A
lift-pow.f64N/A
pow-to-expN/A
lift-exp.f64N/A
prod-expN/A
Applied rewrites97.8%
Applied rewrites99.1%
Final simplification99.1%
(FPCore (z)
:precision binary64
(let* ((t_0 (* (log (* 2.0 (PI))) 0.5))
(t_1 (- (- 1.0 z) 1.0))
(t_2 (fma (log (- 7.5 z)) (- (- 1.0 z) 0.5) (+ -7.5 z))))
(*
(*
(*
(exp (/ (pow t_2 2.0) (- t_2 t_0)))
(exp (/ (pow t_0 2.0) (- t_0 t_2))))
(+
(+
(+
(+
(+
(/ -176.6150291621406 (+ 4.0 t_1))
(+
(/ 771.3234287776531 (+ 3.0 t_1))
(+
(/ -1259.1392167224028 (+ t_1 2.0))
(+ (/ 676.5203681218851 (- t_1 -1.0)) 0.9999999999998099))))
(/ 12.507343278686905 (+ 5.0 t_1)))
(/ -0.13857109526572012 (+ 6.0 t_1)))
(/ 9.984369578019572e-6 (+ 7.0 t_1)))
(/ 1.5056327351493116e-7 (+ 8.0 t_1))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \log \left(2 \cdot \mathsf{PI}\left(\right)\right) \cdot 0.5\\
t_1 := \left(1 - z\right) - 1\\
t_2 := \mathsf{fma}\left(\log \left(7.5 - z\right), \left(1 - z\right) - 0.5, -7.5 + z\right)\\
\left(\left(e^{\frac{{t\_2}^{2}}{t\_2 - t\_0}} \cdot e^{\frac{{t\_0}^{2}}{t\_0 - t\_2}}\right) \cdot \left(\left(\left(\left(\left(\frac{-176.6150291621406}{4 + t\_1} + \left(\frac{771.3234287776531}{3 + t\_1} + \left(\frac{-1259.1392167224028}{t\_1 + 2} + \left(\frac{676.5203681218851}{t\_1 - -1} + 0.9999999999998099\right)\right)\right)\right) + \frac{12.507343278686905}{5 + t\_1}\right) + \frac{-0.13857109526572012}{6 + t\_1}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{7 + t\_1}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_1}\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
associate-*l*N/A
lift-sqrt.f64N/A
pow1/2N/A
pow-to-expN/A
lift-pow.f64N/A
pow-to-expN/A
lift-exp.f64N/A
prod-expN/A
Applied rewrites97.8%
Applied rewrites99.1%
Applied rewrites99.1%
Final simplification99.1%
(FPCore (z)
:precision binary64
(let* ((t_0 (- (- 1.0 z) 1.0)))
(*
(*
(-
(+
(/ 9.984369578019572e-6 (- 7.0 z))
(+
(+
(+
(+
(-
(+ (/ -1259.1392167224028 (- (- 1.0 z) -1.0)) 0.9999999999998099)
(/ 676.5203681218851 (+ -1.0 z)))
(/ 771.3234287776531 (+ 3.0 t_0)))
(/ -176.6150291621406 (+ 4.0 t_0)))
(/ 12.507343278686905 (+ 5.0 t_0)))
(/ -0.13857109526572012 (+ 6.0 t_0))))
(/ 1.5056327351493116e-7 (- (- (+ -1.0 z) -1.0) 8.0)))
(exp
(fma
(log (* 2.0 (PI)))
0.5
(fma (log (- (- 1.0 z) -6.5)) (- (- 1.0 z) 0.5) (- -6.5 (- 1.0 z))))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(1 - z\right) - 1\\
\left(\left(\left(\frac{9.984369578019572 \cdot 10^{-6}}{7 - z} + \left(\left(\left(\left(\left(\left(\frac{-1259.1392167224028}{\left(1 - z\right) - -1} + 0.9999999999998099\right) - \frac{676.5203681218851}{-1 + z}\right) + \frac{771.3234287776531}{3 + t\_0}\right) + \frac{-176.6150291621406}{4 + t\_0}\right) + \frac{12.507343278686905}{5 + t\_0}\right) + \frac{-0.13857109526572012}{6 + t\_0}\right)\right) - \frac{1.5056327351493116 \cdot 10^{-7}}{\left(\left(-1 + z\right) - -1\right) - 8}\right) \cdot e^{\mathsf{fma}\left(\log \left(2 \cdot \mathsf{PI}\left(\right)\right), 0.5, \mathsf{fma}\left(\log \left(\left(1 - z\right) - -6.5\right), \left(1 - z\right) - 0.5, -6.5 - \left(1 - z\right)\right)\right)}\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
associate-*l*N/A
lift-sqrt.f64N/A
pow1/2N/A
pow-to-expN/A
lift-pow.f64N/A
pow-to-expN/A
lift-exp.f64N/A
prod-expN/A
Applied rewrites97.8%
lift-+.f64N/A
lift-+.f64N/A
+-commutativeN/A
associate-+l+N/A
lower-+.f64N/A
lift-+.f64N/A
lift--.f64N/A
associate-+l-N/A
metadata-evalN/A
--rgt-identityN/A
lower-+.f6497.8
lift-+.f64N/A
lift--.f64N/A
associate-+l-N/A
metadata-evalN/A
metadata-evalN/A
lower--.f64N/A
metadata-eval97.8
Applied rewrites97.8%
Taylor expanded in z around 0
mul-1-negN/A
unsub-negN/A
lower--.f6497.8
Applied rewrites97.8%
Final simplification97.8%
(FPCore (z)
:precision binary64
(let* ((t_0 (- (- 1.0 z) 1.0))
(t_1 (/ 771.3234287776531 (+ 3.0 t_0)))
(t_2 (/ -0.13857109526572012 (+ 6.0 t_0)))
(t_3 (+ 7.0 t_0))
(t_4 (/ 9.984369578019572e-6 t_3))
(t_5 (/ 1.5056327351493116e-7 (+ 8.0 t_0)))
(t_6 (/ -176.6150291621406 (+ 4.0 t_0)))
(t_7 (/ 12.507343278686905 (+ 5.0 t_0)))
(t_8 (/ (PI) (sin (* z (PI))))))
(if (<= z -1.75e-7)
(*
(*
(*
(sqrt (* 2.0 (PI)))
(exp
(fma (- (- 1.0 z) 0.5) (log1p (- (- z) -6.5)) (+ (+ -6.5 z) -1.0))))
(+
(+
(+
(+
(+
t_6
(+
t_1
(+
(/ -1259.1392167224028 (+ t_0 2.0))
(+ (/ 676.5203681218851 (- t_0 -1.0)) 0.9999999999998099))))
t_7)
t_2)
t_4)
t_5))
t_8)
(*
(*
(+
(+
(+
(+
(+
(+
(fma
(fma 519.1279660315847 z 361.7355639412844)
z
47.95075976068351)
t_1)
t_6)
t_7)
t_2)
t_4)
t_5)
(*
(exp (- (- (- (+ -1.0 z) -1.0) 7.0) 0.5))
(* (pow (+ t_3 0.5) (+ (- z) 0.5)) (* (sqrt 2.0) (sqrt (PI))))))
t_8))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(1 - z\right) - 1\\
t_1 := \frac{771.3234287776531}{3 + t\_0}\\
t_2 := \frac{-0.13857109526572012}{6 + t\_0}\\
t_3 := 7 + t\_0\\
t_4 := \frac{9.984369578019572 \cdot 10^{-6}}{t\_3}\\
t_5 := \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_0}\\
t_6 := \frac{-176.6150291621406}{4 + t\_0}\\
t_7 := \frac{12.507343278686905}{5 + t\_0}\\
t_8 := \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}\\
\mathbf{if}\;z \leq -1.75 \cdot 10^{-7}:\\
\;\;\;\;\left(\left(\sqrt{2 \cdot \mathsf{PI}\left(\right)} \cdot e^{\mathsf{fma}\left(\left(1 - z\right) - 0.5, \mathsf{log1p}\left(\left(-z\right) - -6.5\right), \left(-6.5 + z\right) + -1\right)}\right) \cdot \left(\left(\left(\left(\left(t\_6 + \left(t\_1 + \left(\frac{-1259.1392167224028}{t\_0 + 2} + \left(\frac{676.5203681218851}{t\_0 - -1} + 0.9999999999998099\right)\right)\right)\right) + t\_7\right) + t\_2\right) + t\_4\right) + t\_5\right)\right) \cdot t\_8\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(\left(\left(\left(\left(\mathsf{fma}\left(\mathsf{fma}\left(519.1279660315847, z, 361.7355639412844\right), z, 47.95075976068351\right) + t\_1\right) + t\_6\right) + t\_7\right) + t\_2\right) + t\_4\right) + t\_5\right) \cdot \left(e^{\left(\left(\left(-1 + z\right) - -1\right) - 7\right) - 0.5} \cdot \left({\left(t\_3 + 0.5\right)}^{\left(\left(-z\right) + 0.5\right)} \cdot \left(\sqrt{2} \cdot \sqrt{\mathsf{PI}\left(\right)}\right)\right)\right)\right) \cdot t\_8\\
\end{array}
\end{array}
if z < -1.74999999999999992e-7Initial program 61.2%
lift-*.f64N/A
lift-*.f64N/A
associate-*l*N/A
lift-sqrt.f64N/A
pow1/2N/A
pow-to-expN/A
lift-pow.f64N/A
pow-to-expN/A
lift-exp.f64N/A
prod-expN/A
Applied rewrites96.4%
Applied rewrites95.6%
if -1.74999999999999992e-7 < z Initial program 97.4%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6498.4
Applied rewrites98.4%
lift-sqrt.f64N/A
lift-*.f64N/A
sqrt-prodN/A
lift-sqrt.f64N/A
lift-sqrt.f64N/A
lower-*.f6499.2
Applied rewrites99.2%
Taylor expanded in z around 0
mul-1-negN/A
lower-neg.f6499.2
Applied rewrites99.2%
Final simplification99.1%
(FPCore (z)
:precision binary64
(let* ((t_0 (- (- 1.0 z) 1.0)) (t_1 (+ 7.0 t_0)))
(*
(*
(+
(+
(+
(+
(+
(+
(fma
(fma 519.1279660315847 z 361.7355639412844)
z
47.95075976068351)
(/ 771.3234287776531 (+ 3.0 t_0)))
(/ -176.6150291621406 (+ 4.0 t_0)))
(/ 12.507343278686905 (+ 5.0 t_0)))
(/ -0.13857109526572012 (+ 6.0 t_0)))
(/ 9.984369578019572e-6 t_1))
(/ 1.5056327351493116e-7 (+ 8.0 t_0)))
(*
(exp (- (- (- (+ -1.0 z) -1.0) 7.0) 0.5))
(* (pow (+ t_1 0.5) (+ (- z) 0.5)) (* (sqrt 2.0) (sqrt (PI))))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(1 - z\right) - 1\\
t_1 := 7 + t\_0\\
\left(\left(\left(\left(\left(\left(\left(\mathsf{fma}\left(\mathsf{fma}\left(519.1279660315847, z, 361.7355639412844\right), z, 47.95075976068351\right) + \frac{771.3234287776531}{3 + t\_0}\right) + \frac{-176.6150291621406}{4 + t\_0}\right) + \frac{12.507343278686905}{5 + t\_0}\right) + \frac{-0.13857109526572012}{6 + t\_0}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{t\_1}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_0}\right) \cdot \left(e^{\left(\left(\left(-1 + z\right) - -1\right) - 7\right) - 0.5} \cdot \left({\left(t\_1 + 0.5\right)}^{\left(\left(-z\right) + 0.5\right)} \cdot \left(\sqrt{2} \cdot \sqrt{\mathsf{PI}\left(\right)}\right)\right)\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6496.6
Applied rewrites96.6%
lift-sqrt.f64N/A
lift-*.f64N/A
sqrt-prodN/A
lift-sqrt.f64N/A
lift-sqrt.f64N/A
lower-*.f6497.4
Applied rewrites97.4%
Taylor expanded in z around 0
mul-1-negN/A
lower-neg.f6497.4
Applied rewrites97.4%
Final simplification97.4%
(FPCore (z)
:precision binary64
(let* ((t_0 (- (- 1.0 z) 1.0)))
(*
(*
(*
(* (exp (- -6.5 (- 1.0 z))) (* (sqrt 2.0) (sqrt (PI))))
(pow (- (- 1.0 z) -6.5) (- (- 1.0 z) 0.5)))
(+
(+
(+
(+
(+
(+
(fma
(fma 519.1279660315847 z 361.7355639412844)
z
47.95075976068351)
(/ 771.3234287776531 (+ 3.0 t_0)))
(/ -176.6150291621406 (+ 4.0 t_0)))
(/ 12.507343278686905 (+ 5.0 t_0)))
(/ -0.13857109526572012 (+ 6.0 t_0)))
(/ 9.984369578019572e-6 (+ 7.0 t_0)))
(/ 1.5056327351493116e-7 (+ 8.0 t_0))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(1 - z\right) - 1\\
\left(\left(\left(e^{-6.5 - \left(1 - z\right)} \cdot \left(\sqrt{2} \cdot \sqrt{\mathsf{PI}\left(\right)}\right)\right) \cdot {\left(\left(1 - z\right) - -6.5\right)}^{\left(\left(1 - z\right) - 0.5\right)}\right) \cdot \left(\left(\left(\left(\left(\left(\mathsf{fma}\left(\mathsf{fma}\left(519.1279660315847, z, 361.7355639412844\right), z, 47.95075976068351\right) + \frac{771.3234287776531}{3 + t\_0}\right) + \frac{-176.6150291621406}{4 + t\_0}\right) + \frac{12.507343278686905}{5 + t\_0}\right) + \frac{-0.13857109526572012}{6 + t\_0}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{7 + t\_0}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_0}\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-*l*N/A
lower-*.f64N/A
Applied rewrites96.2%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6496.6
Applied rewrites96.6%
lift-sqrt.f64N/A
lift-*.f64N/A
sqrt-prodN/A
lift-sqrt.f64N/A
pow1/2N/A
lower-*.f64N/A
pow1/2N/A
lower-sqrt.f6497.4
Applied rewrites97.4%
Final simplification97.4%
(FPCore (z)
:precision binary64
(let* ((t_0 (- (- 1.0 z) 1.0)))
(*
(*
(*
(* (exp (- z 7.5)) (* (sqrt 2.0) (sqrt (PI))))
(pow (- (- 1.0 z) -6.5) (- (- 1.0 z) 0.5)))
(+
(+
(+
(+
(+
(+
(fma
(fma 519.1279660315847 z 361.7355639412844)
z
47.95075976068351)
(/ 771.3234287776531 (+ 3.0 t_0)))
(/ -176.6150291621406 (+ 4.0 t_0)))
(/ 12.507343278686905 (+ 5.0 t_0)))
(/ -0.13857109526572012 (+ 6.0 t_0)))
(/ 9.984369578019572e-6 (+ 7.0 t_0)))
(/ 1.5056327351493116e-7 (+ 8.0 t_0))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(1 - z\right) - 1\\
\left(\left(\left(e^{z - 7.5} \cdot \left(\sqrt{2} \cdot \sqrt{\mathsf{PI}\left(\right)}\right)\right) \cdot {\left(\left(1 - z\right) - -6.5\right)}^{\left(\left(1 - z\right) - 0.5\right)}\right) \cdot \left(\left(\left(\left(\left(\left(\mathsf{fma}\left(\mathsf{fma}\left(519.1279660315847, z, 361.7355639412844\right), z, 47.95075976068351\right) + \frac{771.3234287776531}{3 + t\_0}\right) + \frac{-176.6150291621406}{4 + t\_0}\right) + \frac{12.507343278686905}{5 + t\_0}\right) + \frac{-0.13857109526572012}{6 + t\_0}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{7 + t\_0}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_0}\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-*l*N/A
lower-*.f64N/A
Applied rewrites96.2%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6496.6
Applied rewrites96.6%
Taylor expanded in z around inf
*-commutativeN/A
associate-*r*N/A
sub-negN/A
remove-double-negN/A
mul-1-negN/A
distribute-neg-inN/A
+-commutativeN/A
lower-*.f64N/A
lower-*.f64N/A
lower-sqrt.f64N/A
lower-PI.f64N/A
lower-sqrt.f64N/A
lower-exp.f64N/A
+-commutativeN/A
distribute-neg-inN/A
mul-1-negN/A
remove-double-negN/A
sub-negN/A
lower--.f6497.4
Applied rewrites97.4%
Final simplification97.4%
(FPCore (z)
:precision binary64
(*
(*
(*
(+
(+
(+
(+
(+
(+
(/ 771.3234287776531 (- (- 1.0 z) -2.0))
(fma
(fma 519.1279660315847 z 361.7355639412844)
z
47.95075976068351))
(/ -176.6150291621406 (- (- 1.0 z) -3.0)))
(/ 12.507343278686905 (- (- 1.0 z) -4.0)))
(/ -0.13857109526572012 (- (- 1.0 z) -5.0)))
(/ 9.984369578019572e-6 (- (- 1.0 z) -6.0)))
(/ 1.5056327351493116e-7 (- (- 1.0 z) -7.0)))
(* (sqrt (* 2.0 (PI))) (exp (- -6.5 (- 1.0 z)))))
(pow (- (- 1.0 z) -6.5) (- (- 1.0 z) 0.5)))
(/ (PI) (sin (* z (PI))))))\begin{array}{l}
\\
\left(\left(\left(\left(\left(\left(\left(\left(\frac{771.3234287776531}{\left(1 - z\right) - -2} + \mathsf{fma}\left(\mathsf{fma}\left(519.1279660315847, z, 361.7355639412844\right), z, 47.95075976068351\right)\right) + \frac{-176.6150291621406}{\left(1 - z\right) - -3}\right) + \frac{12.507343278686905}{\left(1 - z\right) - -4}\right) + \frac{-0.13857109526572012}{\left(1 - z\right) - -5}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{\left(1 - z\right) - -6}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{\left(1 - z\right) - -7}\right) \cdot \left(\sqrt{2 \cdot \mathsf{PI}\left(\right)} \cdot e^{-6.5 - \left(1 - z\right)}\right)\right) \cdot {\left(\left(1 - z\right) - -6.5\right)}^{\left(\left(1 - z\right) - 0.5\right)}\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-*l*N/A
lower-*.f64N/A
Applied rewrites96.2%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6496.6
Applied rewrites96.6%
Applied rewrites96.6%
Final simplification96.6%
(FPCore (z)
:precision binary64
(*
(*
(*
(* (sqrt (* 2.0 (PI))) (pow (- (- 1.0 z) -6.5) (- (- 1.0 z) 0.5)))
(exp (- -6.5 (- 1.0 z))))
(+
(+
(+
(+
(+
(+
(/ 771.3234287776531 (- (- 1.0 z) -2.0))
(fma (fma 519.1279660315847 z 361.7355639412844) z 47.95075976068351))
(/ -176.6150291621406 (- (- 1.0 z) -3.0)))
(/ 12.507343278686905 (- (- 1.0 z) -4.0)))
(/ -0.13857109526572012 (- (- 1.0 z) -5.0)))
(/ 9.984369578019572e-6 (- (- 1.0 z) -6.0)))
(/ 1.5056327351493116e-7 (- (- 1.0 z) -7.0))))
(/ (PI) (sin (* z (PI))))))\begin{array}{l}
\\
\left(\left(\left(\sqrt{2 \cdot \mathsf{PI}\left(\right)} \cdot {\left(\left(1 - z\right) - -6.5\right)}^{\left(\left(1 - z\right) - 0.5\right)}\right) \cdot e^{-6.5 - \left(1 - z\right)}\right) \cdot \left(\left(\left(\left(\left(\left(\frac{771.3234287776531}{\left(1 - z\right) - -2} + \mathsf{fma}\left(\mathsf{fma}\left(519.1279660315847, z, 361.7355639412844\right), z, 47.95075976068351\right)\right) + \frac{-176.6150291621406}{\left(1 - z\right) - -3}\right) + \frac{12.507343278686905}{\left(1 - z\right) - -4}\right) + \frac{-0.13857109526572012}{\left(1 - z\right) - -5}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{\left(1 - z\right) - -6}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{\left(1 - z\right) - -7}\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-*l*N/A
lower-*.f64N/A
Applied rewrites96.2%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6496.6
Applied rewrites96.6%
Applied rewrites96.6%
Final simplification96.6%
(FPCore (z)
:precision binary64
(let* ((t_0 (sqrt (sqrt (PI)))) (t_1 (- (- 1.0 z) 1.0)))
(*
(*
(+
(+
(+
(+
(+
(+ 47.95075976068351 (/ 771.3234287776531 (+ 3.0 t_1)))
(/ -176.6150291621406 (+ 4.0 t_1)))
(/ 12.507343278686905 (+ 5.0 t_1)))
(/ -0.13857109526572012 (+ 6.0 t_1)))
(/ 9.984369578019572e-6 (+ 7.0 t_1)))
(/ 1.5056327351493116e-7 (+ 8.0 t_1)))
(* (* (sqrt 15.0) (exp -7.5)) (* t_0 t_0)))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \sqrt{\sqrt{\mathsf{PI}\left(\right)}}\\
t_1 := \left(1 - z\right) - 1\\
\left(\left(\left(\left(\left(\left(\left(47.95075976068351 + \frac{771.3234287776531}{3 + t\_1}\right) + \frac{-176.6150291621406}{4 + t\_1}\right) + \frac{12.507343278686905}{5 + t\_1}\right) + \frac{-0.13857109526572012}{6 + t\_1}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{7 + t\_1}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_1}\right) \cdot \left(\left(\sqrt{15} \cdot e^{-7.5}\right) \cdot \left(t\_0 \cdot t\_0\right)\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
Taylor expanded in z around 0
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
lower-sqrt.f64N/A
lower-sqrt.f64N/A
lower-exp.f64N/A
lower-sqrt.f64N/A
lower-PI.f6494.0
Applied rewrites94.0%
Taylor expanded in z around 0
Applied rewrites95.2%
Applied rewrites95.2%
Applied rewrites96.0%
Final simplification96.0%
(FPCore (z)
:precision binary64
(let* ((t_0 (- (- 1.0 z) 1.0)))
(*
(*
(+
(+
(+
(+
(+
(/ -176.6150291621406 4.0)
(+ 47.95075976068351 (/ 771.3234287776531 (+ 3.0 t_0))))
(/ 12.507343278686905 (+ 5.0 t_0)))
(/ -0.13857109526572012 (+ 6.0 t_0)))
(/ 9.984369578019572e-6 (+ 7.0 t_0)))
(/ 1.5056327351493116e-7 (+ 8.0 t_0)))
(* (* (sqrt 15.0) (exp -7.5)) (sqrt (PI))))
(/ (PI) (sin (* z (PI)))))))\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(1 - z\right) - 1\\
\left(\left(\left(\left(\left(\left(\frac{-176.6150291621406}{4} + \left(47.95075976068351 + \frac{771.3234287776531}{3 + t\_0}\right)\right) + \frac{12.507343278686905}{5 + t\_0}\right) + \frac{-0.13857109526572012}{6 + t\_0}\right) + \frac{9.984369578019572 \cdot 10^{-6}}{7 + t\_0}\right) + \frac{1.5056327351493116 \cdot 10^{-7}}{8 + t\_0}\right) \cdot \left(\left(\sqrt{15} \cdot e^{-7.5}\right) \cdot \sqrt{\mathsf{PI}\left(\right)}\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
\end{array}
Initial program 96.2%
Taylor expanded in z around 0
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
lower-sqrt.f64N/A
lower-sqrt.f64N/A
lower-exp.f64N/A
lower-sqrt.f64N/A
lower-PI.f6494.0
Applied rewrites94.0%
Taylor expanded in z around 0
Applied rewrites95.2%
Applied rewrites95.2%
Taylor expanded in z around 0
Applied rewrites95.2%
Final simplification95.2%
(FPCore (z) :precision binary64 (* (* (* (* (sqrt 7.5) (sqrt 2.0)) (exp -7.5)) (* 263.3831869810514 (sqrt (PI)))) (/ (PI) (sin (* z (PI))))))
\begin{array}{l}
\\
\left(\left(\left(\sqrt{7.5} \cdot \sqrt{2}\right) \cdot e^{-7.5}\right) \cdot \left(263.3831869810514 \cdot \sqrt{\mathsf{PI}\left(\right)}\right)\right) \cdot \frac{\mathsf{PI}\left(\right)}{\sin \left(z \cdot \mathsf{PI}\left(\right)\right)}
\end{array}
Initial program 96.2%
lift-*.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-*l*N/A
lower-*.f64N/A
Applied rewrites96.2%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6496.6
Applied rewrites96.6%
Taylor expanded in z around 0
associate-*r*N/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
lower-sqrt.f64N/A
lower-PI.f64N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
lower-sqrt.f64N/A
lower-sqrt.f64N/A
lower-exp.f6495.1
Applied rewrites95.1%
Final simplification95.1%
herbie shell --seed 2024295
(FPCore (z)
:name "Jmat.Real.gamma, branch z less than 0.5"
:precision binary64
:pre (<= z 0.5)
(* (/ (PI) (sin (* (PI) z))) (* (* (* (sqrt (* (PI) 2.0)) (pow (+ (+ (- (- 1.0 z) 1.0) 7.0) 0.5) (+ (- (- 1.0 z) 1.0) 0.5))) (exp (- (+ (+ (- (- 1.0 z) 1.0) 7.0) 0.5)))) (+ (+ (+ (+ (+ (+ (+ (+ 0.9999999999998099 (/ 676.5203681218851 (+ (- (- 1.0 z) 1.0) 1.0))) (/ -1259.1392167224028 (+ (- (- 1.0 z) 1.0) 2.0))) (/ 771.3234287776531 (+ (- (- 1.0 z) 1.0) 3.0))) (/ -176.6150291621406 (+ (- (- 1.0 z) 1.0) 4.0))) (/ 12.507343278686905 (+ (- (- 1.0 z) 1.0) 5.0))) (/ -0.13857109526572012 (+ (- (- 1.0 z) 1.0) 6.0))) (/ 9.984369578019572e-6 (+ (- (- 1.0 z) 1.0) 7.0))) (/ 1.5056327351493116e-7 (+ (- (- 1.0 z) 1.0) 8.0))))))