CAPD::DynSys Library  6.0.0
Capd

Files

file  debuger.h
 
file  archSetting.h
 
file  compilerSetting.h
 
file  operatingSystemSetting.h
 
file  factrial.cpp
 

Macros

#define TRACE(ARG)   std::cout << #ARG << endl; ARG
 
#define OUT(X)   " " << #X << "= " << X
 
#define COUT(X)   std::cout << #X << "= " << X << std::endl;
 
#define CAPD_CPU_ARCH_X86   1
 
#define CAPD_CPU_ARCH_AMD64   2
 
#define CAPD_CPU_ARCH_SPARC   3
 
#define CAPD_CPU_ARCH_POWERPC   4
 
#define CAPD_CPU_ARCH_ARM64   5
 

Functions

template<typename T >
capd::min (const T &x, const T &y)
 
template<typename T >
capd::max (const T &x, const T &y)
 
template<typename T >
capd::abs (const T &x)
 
unsigned long long capd::Newton::factorial (unsigned n)
 

Detailed Description

Macro Definition Documentation

◆ CAPD_CPU_ARCH_AMD64

#define CAPD_CPU_ARCH_AMD64   2

◆ CAPD_CPU_ARCH_ARM64

#define CAPD_CPU_ARCH_ARM64   5

◆ CAPD_CPU_ARCH_POWERPC

#define CAPD_CPU_ARCH_POWERPC   4

◆ CAPD_CPU_ARCH_SPARC

#define CAPD_CPU_ARCH_SPARC   3

◆ CAPD_CPU_ARCH_X86

#define CAPD_CPU_ARCH_X86   1

◆ COUT

#define COUT (   X)    std::cout << #X << "= " << X << std::endl;

◆ OUT

#define OUT (   X)    " " << #X << "= " << X

◆ TRACE

#define TRACE (   ARG)    std::cout << #ARG << endl; ARG

Function Documentation

◆ abs()

template<typename T >
T capd::abs ( const T &  x)
inline

◆ factorial()

unsigned long long Newton::factorial ( unsigned  n)

◆ max()

template<typename T >
T capd::max ( const T &  x,
const T &  y 
)
inline

◆ min()

template<typename T >
T capd::min ( const T &  x,
const T &  y 
)
inline