printf("123.45 = %f\n", (double)12345 / 100);
printf("123.45 = %f\n", 123.45);
If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org
Other options:
no subject
А это падает с той самой ошибкой:
Очевидно, глюк в симуляторе. В процессе обработки литерала с плавающей точкой возникает какая-то фигня.