3 ms·
It appears VS2003 didn't have a defined (default) floating point model. It was introduced in VS2005 (default: precise): https://social.msdn.microsoft.com/Forums
by moogly 8y ago
It appears VS2003 didn't have a defined (default) floating point model. It was introduced in VS2005 (default: precise): https://social.msdn.microsoft.com/Forums/sqlserver/en-US/44ed81d5-54a7-4c01-9055-2d235fc0a2cc/floatingpoint-models-in-vs2005-vs-vs2003?forum=vclanguage https://social.msdn.microsoft.com/Forums/sqlserver/en-US/44e...
- CookiePLMonster 8y agoThen again, it may not be strictly due to /fp:precise - I tried compiling with VS2010 too, and even though it was /fp:precise the bug did not manifest itself. Perhaps comparing assembly code would have given a definite answer, but since it is so obvious from source I don't think it is worth the effort.