S
Stuart Redmann
Dear newsgroup,
I'm struggling with the most famous compiler of all time (probably
many of you can guess which I mean ;-), and I think I got another
point where it is (supposedly) not standard-conform. For example
#include <iostream>
#include <limits>
int main ()
{
std::cout << std::numeric_limits<double>::infinity ();
}
prints "1.#INF". Is this behaviour according to the standard? I
haven't found anything valuable in the net about this, not even on
www.cplusplus.com. I'm starting to think that this may be even
implementation-defined.
Thanks,
Stuart
I'm struggling with the most famous compiler of all time (probably
many of you can guess which I mean ;-), and I think I got another
point where it is (supposedly) not standard-conform. For example
#include <iostream>
#include <limits>
int main ()
{
std::cout << std::numeric_limits<double>::infinity ();
}
prints "1.#INF". Is this behaviour according to the standard? I
haven't found anything valuable in the net about this, not even on
www.cplusplus.com. I'm starting to think that this may be even
implementation-defined.
Thanks,
Stuart