Revert "Add an implementation of fmax for use with MSVC"

This reverts commit de2c5bfa19.

fmax() is not used anymore and should not be used in future.
This commit is contained in:
Andrea Canciani 2011-03-19 11:05:21 +01:00
parent 5339533737
commit cec4c9c91a

View file

@ -227,20 +227,6 @@ ffs (int x)
return 0;
}
#define _USE_MATH_DEFINES
#include <float.h>
static inline double
fmax (double a, double b)
{
if (_isnan(a))
return b;
if (_isnan(b))
return a;
return a > b ? a : b;
}
#endif
#if defined(_MSC_VER) && defined(_M_IX86)