[libclc] Clarify condition expression (NFC)

Closes #91188
This commit is contained in:
Youngsuk Kim 2024-05-14 08:49:24 -05:00
parent 03eba20985
commit e60b83a645

View File

@ -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;