#include <stdio.h>
void foo (long double x) {
int y = x;
printf("(int)%Lf = %d\n", x, y);
}
int main () {
foo(.9999999999999999999728949456878623891498136799780L);
foo(.999999999999999999972894945687862389149813679978L);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CnZvaWQgZm9vIChsb25nIGRvdWJsZSB4KSB7CiAgICBpbnQgeSA9IHg7CiAgICBwcmludGYoIihpbnQpJUxmID0gJWRcbiIsIHgsIHkpOwp9CmludCBtYWluICgpIHsKICAgIGZvbyguOTk5OTk5OTk5OTk5OTk5OTk5OTcyODk0OTQ1Njg3ODYyMzg5MTQ5ODEzNjc5OTc4MEwpOwogICAgZm9vKC45OTk5OTk5OTk5OTk5OTk5OTk5NzI4OTQ5NDU2ODc4NjIzODkxNDk4MTM2Nzk5NzhMKTsKICAgIHJldHVybiAwOwp9