HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SYS_MathPermute.h File Reference

Go to the source code of this file.

Macros

#define ARGS_2(fname)
 
#define ARGS_3(fname)
 
#define ARGS_4(fname)
 
#define CMP_PERM(fname)
 

Macro Definition Documentation

#define ARGS_2 (   fname)
Value:
static inline fpreal64 fname(fpreal32 a, fpreal64 b) \
{ return fname((fpreal64)a, b); } \
static inline fpreal64 fname(fpreal64 a, fpreal32 b) \
{ return fname(a, (fpreal64)b); } \
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1221
double fpreal64
Definition: SYS_Types.h:185
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1221
float fpreal32
Definition: SYS_Types.h:184

Definition at line 20 of file SYS_MathPermute.h.

#define ARGS_3 (   fname)
Value:
static inline fpreal64 fname(fpreal32 a, fpreal64 b, fpreal64 c) \
{ return fname((fpreal64)a, b, c); } \
static inline fpreal64 fname(fpreal64 a, fpreal32 b, fpreal64 c) \
{ return fname(a, (fpreal64)b, c); } \
static inline fpreal64 fname(fpreal32 a, fpreal32 b, fpreal64 c) \
{ return fname((fpreal64)a, (fpreal64)b, c); } \
static inline fpreal64 fname(fpreal64 a, fpreal64 b, fpreal32 c) \
{ return fname(a, b, (fpreal64)c); } \
static inline fpreal64 fname(fpreal32 a, fpreal64 b, fpreal32 c) \
{ return fname((fpreal64)a, b, (fpreal64)c); } \
static inline fpreal64 fname(fpreal64 a, fpreal32 b, fpreal32 c) \
{ return fname(a, (fpreal64)b, (fpreal64)c); }
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1221
double fpreal64
Definition: SYS_Types.h:185
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1221
float fpreal32
Definition: SYS_Types.h:184

Definition at line 26 of file SYS_MathPermute.h.

#define ARGS_4 (   fname)
Value:
static inline fpreal64 fname(fpreal64 a,fpreal32 b,fpreal32 c,fpreal32 d) \
{ return fname(a, (fpreal64)b, (fpreal64)c, (fpreal64)d); } \
static inline fpreal64 fname(fpreal32 a,fpreal64 b,fpreal32 c,fpreal32 d) \
{ return fname((fpreal64)a, b, (fpreal64)c, (fpreal64)d); } \
static inline fpreal64 fname(fpreal64 a,fpreal64 b,fpreal32 c,fpreal32 d) \
{ return fname(a, b, (fpreal64)c, (fpreal64)d); } \
static inline fpreal64 fname(fpreal32 a,fpreal32 b,fpreal64 c,fpreal32 d) \
{ return fname((fpreal64)a, (fpreal64)b, c, (fpreal64)d); } \
static inline fpreal64 fname(fpreal64 a,fpreal32 b,fpreal64 c,fpreal32 d) \
{ return fname(a, (fpreal64)b, c, (fpreal64)d); } \
static inline fpreal64 fname(fpreal32 a,fpreal64 b,fpreal64 c,fpreal32 d) \
{ return fname((fpreal64)a, b, c, (fpreal64)d); } \
static inline fpreal64 fname(fpreal64 a,fpreal64 b,fpreal64 c,fpreal32 d) \
{ return fname(a, b, c, (fpreal64)d); } \
static inline fpreal64 fname(fpreal32 a,fpreal32 b,fpreal32 c,fpreal64 d) \
{ return fname((fpreal64)a, (fpreal64)b, (fpreal64)c, d); } \
static inline fpreal64 fname(fpreal64 a,fpreal32 b,fpreal32 c,fpreal64 d) \
{ return fname(a, (fpreal64)b, (fpreal64)c, d); } \
static inline fpreal64 fname(fpreal32 a,fpreal64 b,fpreal32 c,fpreal64 d) \
{ return fname((fpreal64)a, b, (fpreal64)c, d); } \
static inline fpreal64 fname(fpreal64 a,fpreal64 b,fpreal32 c,fpreal64 d) \
{ return fname(a, b, (fpreal64)c, d); } \
static inline fpreal64 fname(fpreal32 a,fpreal32 b,fpreal64 c,fpreal64 d) \
{ return fname((fpreal64)a, (fpreal64)b, c, d); } \
static inline fpreal64 fname(fpreal64 a,fpreal32 b,fpreal64 c,fpreal64 d) \
{ return fname(a, (fpreal64)b, c, d); } \
static inline fpreal64 fname(fpreal32 a,fpreal64 b,fpreal64 c,fpreal64 d) \
{ return fname((fpreal64)a, b, c, d); }
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1221
double fpreal64
Definition: SYS_Types.h:185
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1221
float fpreal32
Definition: SYS_Types.h:184

Definition at line 40 of file SYS_MathPermute.h.

#define CMP_PERM (   fname)
Value:
static inline bool fname(fpreal32 a, fpreal32 b, fpreal64 tol) \
{ return fname(a, b, (fpreal32)tol); } \
static inline bool fname(fpreal64 a, fpreal64 b, fpreal32 tol) \
{ return fname(a, b, (fpreal64)tol); } \
static inline bool fname(fpreal32 a, fpreal64 b, fpreal32 tol) \
{ return fname((fpreal64)a, b, (fpreal64)tol); } \
static inline bool fname(fpreal64 a, fpreal32 b, fpreal32 tol) \
{ return fname(a, (fpreal64)b, (fpreal64)tol); } \
static inline bool fname(fpreal32 a, fpreal64 b, fpreal64 tol=SYS_FTOLERANCE_D) \
{ return fname((fpreal64)a, b, tol); } \
static inline bool fname(fpreal64 a, fpreal32 b, fpreal64 tol=SYS_FTOLERANCE_D) \
{ return fname(a, (fpreal64)b, tol); } \
static inline bool fname(fpreal32 a, int b, fpreal32 tol=SYS_FTOLERANCE) \
{ return fname(a, (fpreal32)b, tol); } \
static inline bool fname(fpreal32 a, int b, fpreal64 tol) \
{ return fname((fpreal64)a, (fpreal64)b, tol); } \
static inline bool fname(fpreal64 a, int b, fpreal64 tol=SYS_FTOLERANCE_D) \
{ return fname(a, (fpreal64)b, tol); } \
static inline bool fname(int a, fpreal32 b, fpreal32 tol=SYS_FTOLERANCE) \
{ return fname((fpreal32)a, b, tol); } \
static inline bool fname(int a, fpreal32 b, fpreal64 tol) \
{ return fname((fpreal64)a, (fpreal64)b, tol); } \
static inline bool fname(int a, fpreal64 b, fpreal64 tol=SYS_FTOLERANCE_D) \
{ return fname((fpreal64)a, b, tol); }
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1221
#define SYS_FTOLERANCE_D
Definition: SYS_Types.h:197
double fpreal64
Definition: SYS_Types.h:185
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1221
#define SYS_FTOLERANCE
Definition: SYS_Types.h:196
float fpreal32
Definition: SYS_Types.h:184

Definition at line 101 of file SYS_MathPermute.h.