This is Unofficial EPICS BASE Doxygen Site
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
epicsMath.h
Go to the documentation of this file.
1
/*************************************************************************\
2
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3
* National Laboratory.
4
* Copyright (c) 2002 The Regents of the University of California, as
5
* Operator of Los Alamos National Laboratory.
6
* EPICS BASE is distributed subject to a Software License Agreement found
7
* in file LICENSE that is included with this distribution.
8
\*************************************************************************/
9
10
#ifndef epicsMathh
11
#define epicsMathh
12
13
#include <math.h>
14
#include <libComAPI.h>
15
16
#ifdef __cplusplus
17
18
#if __cplusplus>=201103L
19
#include <cmath>
20
21
#if __GLIBCXX__>20160427
22
using
std::isfinite;
23
using
std::isinf
;
24
using
std::isnan
;
25
using
std::isnormal;
26
#endif
27
#endif
/* c++11 */
28
29
extern
"C"
{
30
#endif
31
32
#ifdef isfinite
33
# undef finite
34
# define finite(x) isfinite((double)(x))
35
#endif
36
37
LIBCOM_API
extern
float
epicsNAN
;
38
LIBCOM_API
extern
float
epicsINF
;
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
/* epicsMathh */
isinf
#define isinf(x)
Definition:
epicsMath.h:16
isnan
#define isnan(x)
Definition:
epicsMath.h:21
epicsINF
LIBCOM_API float epicsINF
Definition:
epicsMath.cpp:36
epicsNAN
LIBCOM_API float epicsNAN
Definition:
epicsMath.cpp:35
modules
libcom
src
osi
os
posix
epicsMath.h
Generated by
1.8.11