| ||||||
| 2012/7/23-9/24 [Reference/Law/Court] UID:54442 Activity:nil |
7/23 Sexual assualt victim could be sent to jail before the attackers:
http://www.csua.org/u/x44 (news.yahoo.com)
Our justice system is great. |
| 2012/7/23-29 [Computer/SW/Languages] UID:54443 Activity:nil |
7/23 Hey mconst, check this out:
int main()
{
int i_value = 16777217;
float f_value = 16777217.0;
printf("The integer is: %d\n", i_value);
printf("The float is: %f WTF????\n", f_value);
printf("Their equality: %d WTF?!?!?\n", i_value == f_value);
}
Isn't it peculiar?
\_ "%f" expects a double argument, not a float argument. |