mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 19:16:43 +00:00
parent
03eba20985
commit
e60b83a645
@ -209,7 +209,7 @@ log(double x)
|
||||
const double log_thresh1 = 0x1.e0faap-1;
|
||||
const double log_thresh2 = 0x1.1082cp+0;
|
||||
|
||||
int is_near = x >= log_thresh1 & x <= log_thresh2;
|
||||
bool is_near = x >= log_thresh1 && x <= log_thresh2;
|
||||
|
||||
// Near 1 code
|
||||
double r = x - 1.0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user