Pawel Aleksander Fedorynski wrote: > I'll admit I am not very well versed in the C++ standard lingo, but, > does the link imply that the gcc behavior is incorrect? It says: "On > the other hand, the result of num_get conversion of such out-of-range > floating-point values results in the most positive/negative > representable value." ... "highest representable (which is, usually, > the infinity)". So does this imply that MSVC is standard-conforming > and gcc is wrong? This is hard to believe.
Note that the gcc behaviour has changed (I don't know exactly when). With two handy versions of gcc I get: gcc 4.7 sets fail in iss but *also* sets x to 1.79...e+308 (max double) gcc 4.0.2 sets fail in iss and leaves x unchanged Regards, Roger. ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
