Asking for more precision than is available = UB?

On Oct 16, 2:43 am, Thomas Richter wrote:
> If you need more precision (you did check that you really need more
> precision, didn't you?) than what long double grants, you should check
> third-party libraries, for example the GNU bignum library:

Thanks for your comments Thomas. I'm aware of the various arbitrary-
precision libraries which are available, but this question isn't
really about needing extra precision for any practical purpose. I'm
just wondering if one of the 3 compilers is defective or if the code
generates undefined behavior (including, say, a segfault) according to
the standard. I think it must be undefined behavior to ask for more
precision than is available, I just wanted to check clc++m to find out
for sure.

--
John


--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Google