Introduce better fix to fake 0.5 and 3.0 double constants
Uses a new rel_sqrt_consts.h file
This commit is contained in:
parent
fa82e1e788
commit
c2506716d2
14 changed files with 70 additions and 76 deletions
8
include/rel_sqrt_consts.h
Normal file
8
include/rel_sqrt_consts.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef _REL_SQRT_CONSTS
|
||||
#define _REL_SQRT_CONSTS
|
||||
|
||||
const double __fakeHalf = 0.5;
|
||||
const double __fakeThree = 3.0;
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue