Average Error: 58.1 → 58.1
Time: 2.6s
Precision: 64
\[\left(\left(333.75 \cdot {33096}^{6} + \left(77617 \cdot 77617\right) \cdot \left(\left(\left(\left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) + \left(-{33096}^{6}\right)\right) + -121 \cdot {33096}^{4}\right) + -2\right)\right) + 5.5 \cdot {33096}^{8}\right) + \frac{77617}{2 \cdot 33096}\]
\[\sqrt[3]{{\left(\mathsf{fma}\left(77617, 77617 \cdot \left(\left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) - \left({33096}^{6} - \mathsf{fma}\left({33096}^{4}, -121, -2\right)\right)\right), \mathsf{fma}\left(333.75, {33096}^{6}, \mathsf{fma}\left({33096}^{8}, 5.5, \frac{77617}{2 \cdot 33096}\right)\right)\right)\right)}^{3}}\]
\left(\left(333.75 \cdot {33096}^{6} + \left(77617 \cdot 77617\right) \cdot \left(\left(\left(\left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) + \left(-{33096}^{6}\right)\right) + -121 \cdot {33096}^{4}\right) + -2\right)\right) + 5.5 \cdot {33096}^{8}\right) + \frac{77617}{2 \cdot 33096}
\sqrt[3]{{\left(\mathsf{fma}\left(77617, 77617 \cdot \left(\left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) - \left({33096}^{6} - \mathsf{fma}\left({33096}^{4}, -121, -2\right)\right)\right), \mathsf{fma}\left(333.75, {33096}^{6}, \mathsf{fma}\left({33096}^{8}, 5.5, \frac{77617}{2 \cdot 33096}\right)\right)\right)\right)}^{3}}
double f() {
        double r54966 = 333.75;
        double r54967 = 33096.0;
        double r54968 = 6.0;
        double r54969 = pow(r54967, r54968);
        double r54970 = r54966 * r54969;
        double r54971 = 77617.0;
        double r54972 = r54971 * r54971;
        double r54973 = 11.0;
        double r54974 = r54973 * r54972;
        double r54975 = r54967 * r54967;
        double r54976 = r54974 * r54975;
        double r54977 = -r54969;
        double r54978 = r54976 + r54977;
        double r54979 = -121.0;
        double r54980 = 4.0;
        double r54981 = pow(r54967, r54980);
        double r54982 = r54979 * r54981;
        double r54983 = r54978 + r54982;
        double r54984 = -2.0;
        double r54985 = r54983 + r54984;
        double r54986 = r54972 * r54985;
        double r54987 = r54970 + r54986;
        double r54988 = 5.5;
        double r54989 = 8.0;
        double r54990 = pow(r54967, r54989);
        double r54991 = r54988 * r54990;
        double r54992 = r54987 + r54991;
        double r54993 = 2.0;
        double r54994 = r54993 * r54967;
        double r54995 = r54971 / r54994;
        double r54996 = r54992 + r54995;
        return r54996;
}

double f() {
        double r54997 = 77617.0;
        double r54998 = 11.0;
        double r54999 = r54997 * r54997;
        double r55000 = r54998 * r54999;
        double r55001 = 33096.0;
        double r55002 = r55001 * r55001;
        double r55003 = r55000 * r55002;
        double r55004 = 6.0;
        double r55005 = pow(r55001, r55004);
        double r55006 = 4.0;
        double r55007 = pow(r55001, r55006);
        double r55008 = -121.0;
        double r55009 = -2.0;
        double r55010 = fma(r55007, r55008, r55009);
        double r55011 = r55005 - r55010;
        double r55012 = r55003 - r55011;
        double r55013 = r54997 * r55012;
        double r55014 = 333.75;
        double r55015 = 8.0;
        double r55016 = pow(r55001, r55015);
        double r55017 = 5.5;
        double r55018 = 2.0;
        double r55019 = r55018 * r55001;
        double r55020 = r54997 / r55019;
        double r55021 = fma(r55016, r55017, r55020);
        double r55022 = fma(r55014, r55005, r55021);
        double r55023 = fma(r54997, r55013, r55022);
        double r55024 = 3.0;
        double r55025 = pow(r55023, r55024);
        double r55026 = cbrt(r55025);
        return r55026;
}

Error

Derivation

  1. Initial program 58.1

    \[\left(\left(333.75 \cdot {33096}^{6} + \left(77617 \cdot 77617\right) \cdot \left(\left(\left(\left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) + \left(-{33096}^{6}\right)\right) + -121 \cdot {33096}^{4}\right) + -2\right)\right) + 5.5 \cdot {33096}^{8}\right) + \frac{77617}{2 \cdot 33096}\]
  2. Simplified58.1

    \[\leadsto \color{blue}{\mathsf{fma}\left(77617 \cdot 77617, \left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) - \left({33096}^{6} - \mathsf{fma}\left({33096}^{4}, -121, -2\right)\right), 333.75 \cdot {33096}^{6} + \mathsf{fma}\left({33096}^{8}, 5.5, \frac{77617}{2 \cdot 33096}\right)\right)}\]
  3. Using strategy rm
  4. Applied add-cbrt-cube58.1

    \[\leadsto \color{blue}{\sqrt[3]{\left(\mathsf{fma}\left(77617 \cdot 77617, \left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) - \left({33096}^{6} - \mathsf{fma}\left({33096}^{4}, -121, -2\right)\right), 333.75 \cdot {33096}^{6} + \mathsf{fma}\left({33096}^{8}, 5.5, \frac{77617}{2 \cdot 33096}\right)\right) \cdot \mathsf{fma}\left(77617 \cdot 77617, \left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) - \left({33096}^{6} - \mathsf{fma}\left({33096}^{4}, -121, -2\right)\right), 333.75 \cdot {33096}^{6} + \mathsf{fma}\left({33096}^{8}, 5.5, \frac{77617}{2 \cdot 33096}\right)\right)\right) \cdot \mathsf{fma}\left(77617 \cdot 77617, \left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) - \left({33096}^{6} - \mathsf{fma}\left({33096}^{4}, -121, -2\right)\right), 333.75 \cdot {33096}^{6} + \mathsf{fma}\left({33096}^{8}, 5.5, \frac{77617}{2 \cdot 33096}\right)\right)}}\]
  5. Simplified58.1

    \[\leadsto \sqrt[3]{\color{blue}{{\left(\mathsf{fma}\left(77617, 77617 \cdot \left(\left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) - \left({33096}^{6} - \mathsf{fma}\left({33096}^{4}, -121, -2\right)\right)\right), \mathsf{fma}\left(333.75, {33096}^{6}, \mathsf{fma}\left({33096}^{8}, 5.5, \frac{77617}{2 \cdot 33096}\right)\right)\right)\right)}^{3}}}\]
  6. Final simplification58.1

    \[\leadsto \sqrt[3]{{\left(\mathsf{fma}\left(77617, 77617 \cdot \left(\left(11 \cdot \left(77617 \cdot 77617\right)\right) \cdot \left(33096 \cdot 33096\right) - \left({33096}^{6} - \mathsf{fma}\left({33096}^{4}, -121, -2\right)\right)\right), \mathsf{fma}\left(333.75, {33096}^{6}, \mathsf{fma}\left({33096}^{8}, 5.5, \frac{77617}{2 \cdot 33096}\right)\right)\right)\right)}^{3}}\]

Reproduce

herbie shell --seed 2020020 +o rules:numerics
(FPCore ()
  :name "From Warwick Tucker's Validated Numerics"
  :precision binary64
  (+ (+ (+ (* 333.75 (pow 33096 6)) (* (* 77617 77617) (+ (+ (+ (* (* 11 (* 77617 77617)) (* 33096 33096)) (- (pow 33096 6))) (* -121 (pow 33096 4))) -2))) (* 5.5 (pow 33096 8))) (/ 77617 (* 2 33096))))