Feeds
提问
Numerical issue in simple summation/addition
below code prints 1. But if you have b = 0.2 at the second line, it does not print 1. a = 0; b = 0.1; c = a; w...
10 years 前 | 3 个回答 | 0
3
个回答已回答
Numerical issue in simple summation/addition
So, what is the fix? how can i have such a while loop with 0.1 increments and stop before 1?
Numerical issue in simple summation/addition
So, what is the fix? how can i have such a while loop with 0.1 increments and stop before 1?
10 years 前 | 0
