From the FAQ:
"Non-integer results should not normally be compared for equality."
Now, I understand why this ends up being true, but then what is the workaround
should one actually desire to see whether 1.015 * 5 == 5.075? I'm not saying
I have any desire to do this (I'd use C if I did, lol...), but really, it
seems like a cheap hack to me... unless I'm missing something...
--
Christopher Benson-Manica | Jumonji giri, for honour.
ataru(at)cybers pace.org |
"Non-integer results should not normally be compared for equality."
Now, I understand why this ends up being true, but then what is the workaround
should one actually desire to see whether 1.015 * 5 == 5.075? I'm not saying
I have any desire to do this (I'd use C if I did, lol...), but really, it
seems like a cheap hack to me... unless I'm missing something...
--
Christopher Benson-Manica | Jumonji giri, for honour.
ataru(at)cybers pace.org |
Comment