[Solved] i read it on jon skeet blog and now i want to know the answer? [duplicate]


I think result may vary depending on which processor and which language you’re using.
This because float numbers (in general) are stored with a number of bits that try to represent that fractional number, but there can be some (very little) difference.
So when you do (d1-d2) you probably get a number really close to 1.0, but not exactly 1.0!!

solved i read it on jon skeet blog and now i want to know the answer? [duplicate]