Pawel Aleksander Fedorynski wrote: ... > >> This is an unresolved issue in the C++ standard! >> See http://cplusplus.github.com/LWG/lwg-unresolved.html#1169 >> >> >> Thank you Roger. >> > > 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. >
Sorry, the link I posted is a bit hard to understand! Basically the current C++ standard is unclear and differs from C's handling of overflow. Vendors have also implemented it in different ways. The item is still 'Open' -- I'm also not personally convinced the proposed resolution entirely solves the issues. 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
