libcom: properly declare isnan() in C++ code

This commit is contained in:
Ralph Lange
2019-12-11 14:51:16 +01:00
parent 09ec3af337
commit 2e89a60c2d
4 changed files with 14 additions and 1 deletions

View File

@@ -13,7 +13,9 @@
#ifndef __EPICS_ALGORITHM_H__
#define __EPICS_ALGORITHM_H__
#include "epicsMath.h"
#include <cmath>
using std::isnan;
// The C++ standard only requires types to be less-than comparable, so
// the epicsMin and epicsMax templates only use operator <