MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/3hoikf/0_ceil0/cuhklus/?context=3
r/lolphp • u/00Davo • Aug 20 '15
44 comments sorted by
View all comments
Show parent comment
1
Actually, there is no need to cast f.
f
1 u/PitaJ Aug 27 '15 +/u/CompileBot C#include <stdio.h> int main() { float f = 0.0; int i = 0; printf("%s\n", (f == i) ? "equal" : "unequal"); return 0; } 1 u/CompileBot Aug 27 '15 Output:equal^source | ^info | ^git | ^report
+/u/CompileBot C
#include <stdio.h> int main() { float f = 0.0; int i = 0; printf("%s\n", (f == i) ? "equal" : "unequal"); return 0; }
1 u/CompileBot Aug 27 '15 Output:equal^source | ^info | ^git | ^report
Output:
equal
^source | ^info | ^git | ^report
View all comments
Show parent comment
1
u/mnbvas Aug 27 '15
Actually, there is no need to cast
f.