Because it is possible that some value could require computation beyond the time a user is willing to wait or beyond the memory capacity of a particular computer, and because the double numbers are too numerous to check exhaustively, it is impossible to prove beyond mathematical doubt that an implementation of a transcendental function for double or long double arguments is correctly rounded.
The fate of rounded values excruciatingly close to half-way case is left in the balance. The best algorithms are known to be correctly rounded for all but one in a trillion cases; they are not known to fail for the others.