Average Error: 0 → 0
Time: 1.0s
Precision: 64
\[\mathsf{min}\left({2}^{32}, {2}^{32} + 1\right)\]
\[4294967296\]
\mathsf{min}\left({2}^{32}, {2}^{32} + 1\right)
4294967296
double f() {
        double r40830195 = 2.0;
        double r40830196 = 32.0;
        double r40830197 = pow(r40830195, r40830196);
        double r40830198 = 1.0;
        double r40830199 = r40830197 + r40830198;
        double r40830200 = fmin(r40830197, r40830199);
        return r40830200;
}

double f() {
        double r40830201 = 4294967296.0;
        return r40830201;
}

Error

Try it out

Your Program's Arguments

    Results

    Enter valid numbers for all inputs

    Derivation

    1. Initial program 0

      \[\mathsf{min}\left({2}^{32}, {2}^{32} + 1\right)\]
    2. Simplified0

      \[\leadsto \color{blue}{4294967296}\]
    3. Final simplification0

      \[\leadsto 4294967296\]

    Reproduce

    herbie shell --seed 1 
    (FPCore ()
      :name "min(2^32,2^32+1)"
      (fmin (pow 2 32) (+ (pow 2 32) 1)))