commit | ccf8aea988269841d84d746e52164d5056c67a10 | [log] [tgz] |
---|---|---|
author | Björn Piltz <bjornpiltz@gmail.com> | Mon Aug 25 16:16:01 2014 +0200 |
committer | Björn Piltz <bjornpiltz@gmail.com> | Mon Aug 25 16:16:01 2014 +0200 |
tree | 03c9827f7c89a6108c6b764630e14eefec68b806 | |
parent | 8de27be218d42b282d7f15867733ad07058b0887 [diff] |
Fixed MSVC error C2124: divide or mod by zero Alternatively, if quiet_NaN is not available on all platforms a workaround would be: volatile double zero = 0.0; double x = 1.0/zero; The 'volatile' is needed to shut up "warning C4723: potential divide by 0". Change-Id: If2bbdab8540595aa2e0079e1eb6b6fed6d4a6ef7