allFinite() does not work correctly with fast math enabled
Submitted by ale..@..web.de
Assigned to Nobody
Link to original bugzilla bug (#1008)
Version: 3.2
Operating system: Windows
Description
As the summary says the allFinite() function does not work properly with fast math enabled when building with MSVC in x64 mode (x86 works for some reason). I did not test if this is an issue on Linux / with other compilers.
A possible solution would be to use std::isfinite() (only available since c++11) or Microsofts finction _finite() (https://msdn.microsoft.com/en-us/library/sb8es7a8%28v=vs.120%29.aspx).
I attached a MSVC project with a test case for this problem (the platform defaults to Win32, so one has to switch to x64 manually).
Blocking
Edited by Eigen Bugzilla