Refactoring #1333

Feature #1290: === Core: framework ===

MSC switches hopefully obsolete

Added by wuttke almost 4 years ago. Updated over 3 years ago.

Status:ArchivedStart date:11 Feb 2016
Priority:NormalDue date:
Assignee:herck% Done:

0%

Category:-
Target version:Sprint 31

Description


BA_CORE_API_ inline bool isnan(double x)
{
#ifdef _MSC_VER
return _isnan(x);
#else
return std::isnan(x);
#endif
}
BA_CORE_API_ inline bool isinf(double x)
{
#ifdef _MSC_VER
return !_finite(x);
#else
return std::isinf(x);
#endif
}

I'd expect the need for this be gone with C++11 ... who could test, please?

History

#1 Updated by pospelov almost 4 years ago

  • Status changed from New to Sprint
  • Target version set to Sprint 31

I will do it together with migration to MSVC 2015. I would like to try community edition.

#2 Updated by herck over 3 years ago

  • Assignee set to herck

#3 Updated by herck over 3 years ago

  • Status changed from Sprint to Resolved

Replaced with std::isnan and std::isinf and fixed tons of build errors on Windows

#4 Updated by herck over 3 years ago

  • Status changed from Resolved to Archived

Also available in: Atom PDF