ATLAS Offline Software
Macros
SbMath.h File Reference
#include <cmath>
Include dependency graph for SbMath.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SbMinimum(a, b)   ((a)<(b)?a:b)
 
#define SbMaximum(a, b)   ((a)>(b)?a:b)
 
#define FCOS(x)   ((float)cos((double)(x)))
 
#define FSIN(x)   ((float)sin((double)(x)))
 
#define FTAN(x)   ((float)tan((double)(x)))
 
#define FATAN(x)   ((float)atan((double)(x)))
 
#define FFABS(x)   ((float)fabs((double)(x)))
 

Macro Definition Documentation

◆ FATAN

#define FATAN (   x)    ((float)atan((double)(x)))

Definition at line 19 of file SbMath.h.

◆ FCOS

#define FCOS (   x)    ((float)cos((double)(x)))

Definition at line 14 of file SbMath.h.

◆ FFABS

#define FFABS (   x)    ((float)fabs((double)(x)))

Definition at line 25 of file SbMath.h.

◆ FSIN

#define FSIN (   x)    ((float)sin((double)(x)))

Definition at line 15 of file SbMath.h.

◆ FTAN

#define FTAN (   x)    ((float)tan((double)(x)))

Definition at line 18 of file SbMath.h.

◆ SbMaximum

#define SbMaximum (   a,
 
)    ((a)>(b)?a:b)

Definition at line 12 of file SbMath.h.

◆ SbMinimum

#define SbMinimum (   a,
 
)    ((a)<(b)?a:b)

Definition at line 11 of file SbMath.h.