Уточнение погрешности (epsylon), поддержка тестов для Code::Blocks
This commit is contained in:
parent
899ca7dd52
commit
47ba771b68
6 changed files with 92 additions and 60 deletions
|
@ -3,8 +3,8 @@
|
|||
|
||||
#define BGC_EPSYLON_EFFECTIVENESS_LIMIT_FP32 1.0f
|
||||
|
||||
#define BGC_EPSYLON_FP32 5E-7f
|
||||
#define BGC_SQUARE_EPSYLON_FP32 2.5E-13f
|
||||
#define BGC_EPSYLON_FP32 4.76837E-7f
|
||||
#define BGC_SQUARE_EPSYLON_FP32 2.27373906E-13f
|
||||
|
||||
#define BGC_ONE_THIRD_FP32 0.333333333f
|
||||
#define BGC_ONE_SIXTH_FP32 0.166666667f
|
||||
|
@ -15,8 +15,8 @@
|
|||
|
||||
#define BGC_EPSYLON_EFFECTIVENESS_LIMIT_FP64 1.0
|
||||
|
||||
#define BGC_EPSYLON_FP64 5E-14
|
||||
#define BGC_SQUARE_EPSYLON_FP64 2.5E-27
|
||||
#define BGC_EPSYLON_FP64 4.996003611E-14
|
||||
#define BGC_SQUARE_EPSYLON_FP64 2.496005208112504E-27
|
||||
|
||||
#define BGC_ONE_THIRD_FP64 0.333333333333333333
|
||||
#define BGC_ONE_SIXTH_FP64 0.166666666666666667
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue