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

This reverts commit 2e89a60c2d.
This commit is contained in:
Michael Davidsaver
2019-12-16 10:25:55 -08:00
parent 8a9637568e
commit 247fea0fa9
4 changed files with 1 additions and 14 deletions
+1 -3
View File
@@ -13,9 +13,7 @@
#ifndef __EPICS_ALGORITHM_H__
#define __EPICS_ALGORITHM_H__
#include <cmath>
using std::isnan;
#include "epicsMath.h"
// The C++ standard only requires types to be less-than comparable, so
// the epicsMin and epicsMax templates only use operator <
-3
View File
@@ -16,7 +16,6 @@
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <cmath>
#define epicsExportSharedSymbols
#include "errlog.h"
@@ -32,8 +31,6 @@
#include "cantProceed.h"
#include "iocsh.h"
using std::isinf;
extern "C" {
/*
-4
View File
@@ -9,15 +9,11 @@
// epicsAlgorithmTest.cpp
// Authors: Jeff Hill & Andrew Johnson
#include <cmath>
#include "epicsUnitTest.h"
#include "epicsAlgorithm.h"
#include "epicsMath.h"
#include "testMain.h"
using std::isnan;
MAIN(epicsAlgorithm)
{
testPlan(22);
-4
View File
@@ -8,7 +8,6 @@
#include <stdlib.h>
#include <string.h>
#include <cmath>
#include "epicsUnitTest.h"
#include "epicsTypes.h"
@@ -17,9 +16,6 @@
#include "postfix.h"
#include "testMain.h"
using std::isnan;
using std::isinf;
/* Infrastructure for running tests */
double doCalc(const char *expr) {