[m-rev.] for review: implement is_nan/1 and is_inf/1 for MSVC

Julien Fischer jfischer at opturion.com
Fri May 31 17:29:45 AEST 2013


On Fri, 31 May 2013, Julien Fischer wrote:


> On Fri, 31 May 2013, Julien Fischer wrote:

Another change:

>> @@ -130,6 +132,10 @@ MR_is_inf(MR_Float Flt)
>>     return isinf(Flt);
>> #elif defined(MR_HAVE_FINITE)
>>     return !finite(Flt) && (Flt == Flt);
>> +#elif defined(MR_MSVC)
>> +    int sw;
>> +    sw = _fpclassify(Flt);

That should be s/_fpclassify/_fpclass/

Julien.



More information about the reviews mailing list