From: Pete Becker on
A. McKenney wrote:
> On Feb 1, 4:04 pm, Pete Becker <p...(a)versatilecoding.com> wrote:
>> George Neuner wrote:
>>> On Sun, 31 Jan 2010 12:20:21 CST, Pete Becker
> ...
>>> That's true if the language implementation has provided the hooks ...
>> That's true for languages that implement IEEE-754, and that includes C90
>> and C++0x. And that's the context that I explicitly referred to in an
>> earlier message that's now been snipped from the attribution chain.
>
> Minor nit: IEEE-754 specifies floating-point
> behavior, but not language bindings. Since
> C and C++ do not, AFAIK, mandate IEEE-754, to
> speak of C and C++ as "languages that
> implement IEEE-754" is a bit misleading.
>

Sorry, C90 was a typo. Should have been C99, which gives special status
to IEEE-754 and provides functions for managing a 754-compliant
environment. See <fenv.h>.

--
Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com) Author of
"The Standard C++ Library Extensions: a Tutorial and Reference"
(www.petebecker.com/tr1book)

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