Error in 34.0ms

Runtime

Time bar (total: 34.0ms)Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed 2018277 
(FPCore (i n)
  :name "Compound Interest"

  :herbie-target
  (* 100 (/ (- (exp (* n (if (== (+ 1 (/ i n)) 1) (/ i n) (/ (* (/ i n) (log (+ 1 (/ i n)))) (- (+ (/ i n) 1) 1))))) 1) (/ i n)))

  (* 100 (/ (- (pow (+ 1 (/ i n)) n) 1) (/ i n))))

Backtrace

bf-: contract violation expected: bigfloat? given: +nan.0 in: the 1st argument of (->* (bigfloat?) #:rest (listof bigfloat?) any) contract from: <pkgs>/math-lib/math/private/bigfloat/bigfloat-mpfr.rkt blaming: /data/pavpan/nightlies/herbie/biginterval-sampler/src/biginterval.rkt (assuming the contract is correct) at: <pkgs>/math-lib/math/private/bigfloat/bigfloat-mpfr.rkt:204.1LC
raise-blame-error16/home/p92/racket/collects/racket/contract/private/blame.rkt3470
...higher-order.rkt:361:33unknown
ival-sub/data/pavpan/nightlies/herbie/biginterval-sampler/src/biginterval.rkt780
(unnamed)/home/p92/racket/collects/racket/contract/private/arrow-higher-order.rkt36133
(unnamed)/home/p92/racket/collects/racket/private/kw.rkt59214
(unnamed)/data/pavpan/nightlies/herbie/biginterval-sampler/src/programs.rkt1242
loop/data/pavpan/nightlies/herbie/biginterval-sampler/src/points.rkt1672
make-exacts-intervals/data/pavpan/nightlies/herbie/biginterval-sampler/src/points.rkt1820
loop/data/pavpan/nightlies/herbie/biginterval-sampler/src/points.rkt2412
setup-prog!32/data/pavpan/nightlies/herbie/biginterval-sampler/src/mainloop.rkt630
run-improve39/data/pavpan/nightlies/herbie/biginterval-sampler/src/mainloop.rkt2870
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128
run/home/p92/racket/share/pkgs/profile-lib/main.rkt392
profile-thunk16/home/p92/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128