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

Go to the source code of this file.

Macros

#define _ARGS_2_IMPL(fname, CONSTEXPR)
 
#define ARGS_2(fname)   _ARGS_2_IMPL(fname, )
 
#define ARGS_2_CE(fname)   _ARGS_2_IMPL(fname, constexpr)
 
#define _ARGS_3_IMPL(fname, CONSTEXPR)
 
#define ARGS_3(fname)   _ARGS_3_IMPL(fname, )
 
#define ARGS_3_CE(fname)   _ARGS_3_IMPL(fname, constexpr)
 
#define _ARGS_4_IMPL(fname, CONSTEXPR)
 
#define ARGS_4(fname)   _ARGS_4_IMPL(fname, )
 
#define ARGS_4_CE(fname)   _ARGS_4_IMPL(fname, constexpr)
 
#define _CMP_PERM_IMPL(fname, CONSTEXPR)
 
#define CMP_PERM(fname)   _CMP_PERM_IMPL(fname, )
 
#define CMP_PERM_CE(fname)   _CMP_PERM_IMPL(fname, constexpr)
 

Macro Definition Documentation

#define _ARGS_2_IMPL (   fname,
  CONSTEXPR 
)
Value:
static CONSTEXPR inline fpreal64 fname(fpreal32 a, fpreal64 b) \
{ return fname((fpreal64)a, b); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a, fpreal32 b) \
{ return fname(a, (fpreal64)b); } \
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
float fpreal32
Definition: SYS_Types.h:200
double fpreal64
Definition: SYS_Types.h:201
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222

Definition at line 20 of file SYS_MathPermute.h.

#define _ARGS_3_IMPL (   fname,
  CONSTEXPR 
)
Value:
static CONSTEXPR inline fpreal64 fname(fpreal32 a, fpreal64 b, fpreal64 c) \
{ return fname((fpreal64)a, b, c); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a, fpreal32 b, fpreal64 c) \
{ return fname(a, (fpreal64)b, c); } \
static CONSTEXPR inline fpreal64 fname(fpreal32 a, fpreal32 b, fpreal64 c) \
{ return fname((fpreal64)a, (fpreal64)b, c); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a, fpreal64 b, fpreal32 c) \
{ return fname(a, b, (fpreal64)c); } \
static CONSTEXPR inline fpreal64 fname(fpreal32 a, fpreal64 b, fpreal32 c) \
{ return fname((fpreal64)a, b, (fpreal64)c); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a, fpreal32 b, fpreal32 c) \
{ return fname(a, (fpreal64)b, (fpreal64)c); }
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
float fpreal32
Definition: SYS_Types.h:200
double fpreal64
Definition: SYS_Types.h:201
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222

Definition at line 29 of file SYS_MathPermute.h.

#define _ARGS_4_IMPL (   fname,
  CONSTEXPR 
)
Value:
static CONSTEXPR inline fpreal64 fname(fpreal64 a,fpreal32 b,fpreal32 c,fpreal32 d) \
{ return fname(a, (fpreal64)b, (fpreal64)c, (fpreal64)d); } \
static CONSTEXPR inline fpreal64 fname(fpreal32 a,fpreal64 b,fpreal32 c,fpreal32 d) \
{ return fname((fpreal64)a, b, (fpreal64)c, (fpreal64)d); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a,fpreal64 b,fpreal32 c,fpreal32 d) \
{ return fname(a, b, (fpreal64)c, (fpreal64)d); } \
static CONSTEXPR inline fpreal64 fname(fpreal32 a,fpreal32 b,fpreal64 c,fpreal32 d) \
{ return fname((fpreal64)a, (fpreal64)b, c, (fpreal64)d); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a,fpreal32 b,fpreal64 c,fpreal32 d) \
{ return fname(a, (fpreal64)b, c, (fpreal64)d); } \
static CONSTEXPR inline fpreal64 fname(fpreal32 a,fpreal64 b,fpreal64 c,fpreal32 d) \
{ return fname((fpreal64)a, b, c, (fpreal64)d); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a,fpreal64 b,fpreal64 c,fpreal32 d) \
{ return fname(a, b, c, (fpreal64)d); } \
static CONSTEXPR inline fpreal64 fname(fpreal32 a,fpreal32 b,fpreal32 c,fpreal64 d) \
{ return fname((fpreal64)a, (fpreal64)b, (fpreal64)c, d); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a,fpreal32 b,fpreal32 c,fpreal64 d) \
{ return fname(a, (fpreal64)b, (fpreal64)c, d); } \
static CONSTEXPR inline fpreal64 fname(fpreal32 a,fpreal64 b,fpreal32 c,fpreal64 d) \
{ return fname((fpreal64)a, b, (fpreal64)c, d); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a,fpreal64 b,fpreal32 c,fpreal64 d) \
{ return fname(a, b, (fpreal64)c, d); } \
static CONSTEXPR inline fpreal64 fname(fpreal32 a,fpreal32 b,fpreal64 c,fpreal64 d) \
{ return fname((fpreal64)a, (fpreal64)b, c, d); } \
static CONSTEXPR inline fpreal64 fname(fpreal64 a,fpreal32 b,fpreal64 c,fpreal64 d) \
{ return fname(a, (fpreal64)b, c, d); } \
static CONSTEXPR 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:1222
float fpreal32
Definition: SYS_Types.h:200
double fpreal64
Definition: SYS_Types.h:201
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222

Definition at line 46 of file SYS_MathPermute.h.

#define _CMP_PERM_IMPL (   fname,
  CONSTEXPR 
)
Value:
static CONSTEXPR inline bool fname(fpreal32 a, fpreal32 b, fpreal64 tol) \
{ return fname(a, b, (fpreal32)tol); } \
static CONSTEXPR inline bool fname(fpreal64 a, fpreal64 b, fpreal32 tol) \
{ return fname(a, b, (fpreal64)tol); } \
static CONSTEXPR inline bool fname(fpreal32 a, fpreal64 b, fpreal32 tol) \
{ return fname((fpreal64)a, b, (fpreal64)tol); } \
static CONSTEXPR inline bool fname(fpreal64 a, fpreal32 b, fpreal32 tol) \
{ return fname(a, (fpreal64)b, (fpreal64)tol); } \
static CONSTEXPR inline bool fname(fpreal32 a, fpreal64 b, fpreal64 tol=SYS_FTOLERANCE_D) \
{ return fname((fpreal64)a, b, tol); } \
static CONSTEXPR inline bool fname(fpreal64 a, fpreal32 b, fpreal64 tol=SYS_FTOLERANCE_D) \
{ return fname(a, (fpreal64)b, tol); } \
static CONSTEXPR inline bool fname(fpreal32 a, int b, fpreal32 tol=SYS_FTOLERANCE) \
{ return fname(a, (fpreal32)b, tol); } \
static CONSTEXPR inline bool fname(fpreal32 a, int b, fpreal64 tol) \
{ return fname((fpreal64)a, (fpreal64)b, tol); } \
static CONSTEXPR inline bool fname(fpreal64 a, int b, fpreal64 tol=SYS_FTOLERANCE_D) \
{ return fname(a, (fpreal64)b, tol); } \
static CONSTEXPR inline bool fname(int a, fpreal32 b, fpreal32 tol=SYS_FTOLERANCE) \
{ return fname((fpreal32)a, b, tol); } \
static CONSTEXPR inline bool fname(int a, fpreal32 b, fpreal64 tol) \
{ return fname((fpreal64)a, (fpreal64)b, tol); } \
static CONSTEXPR 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:1222
#define SYS_FTOLERANCE_D
Definition: SYS_Types.h:209
float fpreal32
Definition: SYS_Types.h:200
double fpreal64
Definition: SYS_Types.h:201
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
#define SYS_FTOLERANCE
Definition: SYS_Types.h:208

Definition at line 110 of file SYS_MathPermute.h.

#define ARGS_2 (   fname)    _ARGS_2_IMPL(fname, )

Definition at line 26 of file SYS_MathPermute.h.

#define ARGS_2_CE (   fname)    _ARGS_2_IMPL(fname, constexpr)

Definition at line 27 of file SYS_MathPermute.h.

#define ARGS_3 (   fname)    _ARGS_3_IMPL(fname, )

Definition at line 43 of file SYS_MathPermute.h.

#define ARGS_3_CE (   fname)    _ARGS_3_IMPL(fname, constexpr)

Definition at line 44 of file SYS_MathPermute.h.

#define ARGS_4 (   fname)    _ARGS_4_IMPL(fname, )

Definition at line 76 of file SYS_MathPermute.h.

#define ARGS_4_CE (   fname)    _ARGS_4_IMPL(fname, constexpr)

Definition at line 77 of file SYS_MathPermute.h.

#define CMP_PERM (   fname)    _CMP_PERM_IMPL(fname, )

Definition at line 136 of file SYS_MathPermute.h.

#define CMP_PERM_CE (   fname)    _CMP_PERM_IMPL(fname, constexpr)

Definition at line 137 of file SYS_MathPermute.h.