Added support for upper limit being double

Used for instance in the Fannkuch benchmark, and was supported before.

Signed-off-by: Stefan Marr <git@stefan-marr.de>