When building a 64-bit version of AlgLib 3.8.2 using Visual Studio 2010, I am getting 398 compilation warnings of this type: " '=' : conversion from 'alglib_impl::ae_int_t' to 'double', possible loss of data " For example, in lines 461, 1455, 12712 and 12713 of alglibinternal.cpp.
This is likely a result of the ae_int_t being 64-bit instead of 32-bit (on the x86 platform, compilation of the same source code generates no warnings).
Should an explicit cast to 'double' be added in all these assignment lines? For example, in line 461 of alglibinternal.cpp: result = a; --> result = (double)a;
|