![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Contains a few templates out of the C++ standard header algorithm. More...
#include "epicsMath.h"
Go to the source code of this file.
Functions | |
template<class T > | |
const T & | epicsMin (const T &a, const T &b) |
template<> | |
const float & | epicsMin (const float &a, const float &b) |
template<> | |
const double & | epicsMin (const double &a, const double &b) |
template<class T > | |
const T & | epicsMax (const T &a, const T &b) |
template<> | |
const float & | epicsMax (const float &a, const float &b) |
template<> | |
const double & | epicsMax (const double &a, const double &b) |
template<class T > | |
void | epicsSwap (T &a, T &b) |
Contains a few templates out of the C++ standard header algorithm.
Definition in file epicsAlgorithm.h.
|
inline |
Returns the larger of a or b compared using a<b.
Definition at line 63 of file epicsAlgorithm.h.
|
inline |
Returns the larger of a or b compared using a<b.
Definition at line 75 of file epicsAlgorithm.h.
|
inline |
Returns the larger of a or b compared using a<b.
Definition at line 87 of file epicsAlgorithm.h.
|
inline |
Returns the smaller of a or b compared using a<b.
Definition at line 29 of file epicsAlgorithm.h.
|
inline |
Returns the smaller of a or b compared using a<b.
Definition at line 41 of file epicsAlgorithm.h.
|
inline |
Returns the smaller of a or b compared using a<b.
Definition at line 53 of file epicsAlgorithm.h.
|
inline |
Swaps the values of a and b.
Definition at line 99 of file epicsAlgorithm.h.