Something goes wrong.
Test with -m 1021.7 -t 0.0017 and -c 7.5 => should give 8 as a price.