Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
SbMath.h File Reference
#include <cmath>
Include dependency graph for SbMath.h:

Go to the source code of this file.

Macros

#define M_PI   3.1415926535897931160E0
 
#define M_PI_2   1.5707963267948965580E0
 
#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 FACOS(x)   ((float)acos((double)(x)))
 
#define FASIN(x)   ((float)asin((double)(x)))
 
#define FTAN(x)   ((float)tan((double)(x)))
 
#define FATAN(x)   ((float)atan((double)(x)))
 
#define FSQRT(x)   ((float)sqrt((double)(x)))
 
#define FPOW(x, y)   ((float)pow((double)(x),(double)(y)))
 
#define FLOG(x)   ((float)log((double)(x)))
 
#define FLOG10(x)   ((float)log10((double)(x)))
 
#define FFLOOR(x)   ((float)floor((double)(x)))
 
#define FFABS(x)   ((float)fabs((double)(x)))
 
#define FCEIL(x)   ((float)ceil((double)(x)))
 

Macro Definition Documentation

#define FACOS (   x)    ((float)acos((double)(x)))

Definition at line 43 of file SbMath.h.

#define FASIN (   x)    ((float)asin((double)(x)))

Definition at line 44 of file SbMath.h.

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

Definition at line 46 of file SbMath.h.

#define FCEIL (   x)    ((float)ceil((double)(x)))

Definition at line 53 of file SbMath.h.

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

Definition at line 41 of file SbMath.h.

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

Definition at line 52 of file SbMath.h.

#define FFLOOR (   x)    ((float)floor((double)(x)))

Definition at line 51 of file SbMath.h.

#define FLOG (   x)    ((float)log((double)(x)))

Definition at line 49 of file SbMath.h.

#define FLOG10 (   x)    ((float)log10((double)(x)))

Definition at line 50 of file SbMath.h.

#define FPOW (   x,
  y 
)    ((float)pow((double)(x),(double)(y)))

Definition at line 48 of file SbMath.h.

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

Definition at line 42 of file SbMath.h.

#define FSQRT (   x)    ((float)sqrt((double)(x)))

Definition at line 47 of file SbMath.h.

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

Definition at line 45 of file SbMath.h.

#define M_PI   3.1415926535897931160E0

Definition at line 34 of file SbMath.h.

#define M_PI_2   1.5707963267948965580E0

Definition at line 35 of file SbMath.h.

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

Definition at line 39 of file SbMath.h.

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

Definition at line 38 of file SbMath.h.