\[\Im(\left(\frac{\left(\left(e^{\left(xre + xim i\right)}\right) + \left(e^{\left(-\left(xre + xim i\right)\right)}\right)\right)}{\left(2 + 0.0 i\right)}\right))\]
\Im(\left(\frac{\left(\left(e^{\left(xre + xim i\right)}\right) + \left(e^{\left(-\left(xre + xim i\right)\right)}\right)\right)}{\left(2 + 0.0 i\right)}\right))
double f(double xre, double xim) {
        double r8028 = xre;
        double r8029 = xim;
        double r8030 = /* ERROR: no complex support in C */;
        double r8031 = exp(r8030);
        double r8032 = -r8030;
        double r8033 = exp(r8032);
        double r8034 = r8031 + r8033;
        double r8035 = 2.0;
        double r8036 = 0.0;
        double r8037 = /* ERROR: no complex support in C */;
        double r8038 = r8034 / r8037;
        double r8039 = /* ERROR: no complex support in C */;
        return r8039;
}

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2019191 +o rules:numerics
(FPCore (xre xim)
  :name "exp with complex power imaginary part (p55)"
  (im (/ (+ (exp (complex xre xim)) (exp (- (complex xre xim)))) (complex 2.0 0.0))))

Backtrace

get-representation: Unknown representation #fLC
filter-p&e/data/pavpan/nightlies/herbie/interface2/src/points.rkt2560
loop/data/pavpan/nightlies/herbie/interface2/src/points.rkt2842
setup-prog!34/data/pavpan/nightlies/herbie/interface2/src/mainloop.rkt670
run-improve43/data/pavpan/nightlies/herbie/interface2/src/mainloop.rkt3390
(unnamed)/opt/racket-7.0/collects/racket/private/more-scheme.rkt26128
run/opt/racket-7.0/share/pkgs/profile-lib/main.rkt392
profile-thunk16/opt/racket-7.0/share/pkgs/profile-lib/main.rkt90
(unnamed)/opt/racket-7.0/collects/racket/private/more-scheme.rkt26128