Title: sqrt(-2.01)

Hi,

In the DoubleSupport.cpp file there is a constant

const double    DoubleSupport::s_NaN = sqrt(-2.01);

This assignment prevents me from using the PlatformSupport.DLL in an executable since it throws a Float support exception - probably due some strange way the application hosting the DLL interacts with the float library.

It would be nice if the limits package could be used instead:

const double    DoubleSupport::s_NaN = std::numeric_limits<double>::infinity();

kind regards
Morten

Reply via email to