The mistake was a rounding error in one of my test-results.
It wasn't the code itself!