assert(0.1 + 0.2 != 0.3); // shall be true
is my favorite check that a language uses native floating point arithmetic.
C++
int main() { printf("%d\n", (0.1 + 0.2 != ...
Sign in to post comments.
Comments (0)
Sign in to post comments.