增加两个定点数常量
This commit is contained in:
@@ -159,17 +159,19 @@ public:
|
||||
// special value
|
||||
static DV_CORE_API const ifloat64 kMax;
|
||||
static DV_CORE_API const ifloat64 kMin;
|
||||
static DV_CORE_API const ifloat64 kZero;
|
||||
static DV_CORE_API const ifloat64 kOne;
|
||||
static DV_CORE_API const ifloat64 kTwo;
|
||||
static DV_CORE_API const ifloat64 kThree;
|
||||
static DV_CORE_API const ifloat64 kFour;
|
||||
static DV_CORE_API const ifloat64 kHalf;
|
||||
static DV_CORE_API const ifloat64 kPi;
|
||||
static DV_CORE_API const ifloat64 kPi2;
|
||||
static DV_CORE_API const ifloat64 kPiHalf;
|
||||
static DV_CORE_API const ifloat64 kE;
|
||||
static DV_CORE_API const ifloat64 kNegOne;
|
||||
static DV_CORE_API const ifloat64 kZero; //0.0
|
||||
static DV_CORE_API const ifloat64 kOne; //1.0
|
||||
static DV_CORE_API const ifloat64 kTwo; //2.0
|
||||
static DV_CORE_API const ifloat64 kThree; //3.0
|
||||
static DV_CORE_API const ifloat64 kFour; //4.0
|
||||
static DV_CORE_API const ifloat64 kHalf; //0.5
|
||||
static DV_CORE_API const ifloat64 kQuater; //0.25
|
||||
static DV_CORE_API const ifloat64 kOneEighth; //0.125
|
||||
static DV_CORE_API const ifloat64 kPi; //3.14159265358979323846
|
||||
static DV_CORE_API const ifloat64 kPi2; //6.2831853071795
|
||||
static DV_CORE_API const ifloat64 kPiHalf; //1.57079632679489661923
|
||||
static DV_CORE_API const ifloat64 kE; //2.71828182845904523536
|
||||
static DV_CORE_API const ifloat64 kNegOne; // -1.0
|
||||
|
||||
public:
|
||||
ifloat64() : s3132(0) {}
|
||||
|
||||
Reference in New Issue
Block a user