Can you prove to us that floating point comparison works like that in C++? My understanding is that floating point errors happen in every language and that you should always use < or > rather than ==.
Can you prove to us that floating point comparison works like that in C++? My understanding is that floating point errors happen in every language and that you should always use < or > rather than ==.
Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.
Bookmarks