Fix signed zeros for acosf, acoshf, and atanf in FE_DOWNWARD mode.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
A nit marked inline.
| libc/src/math/generic/acosf.cpp | ||
|---|---|---|
| 79 | You should add comments for each branch taken. For example: if (x_abs == 0x3f80'0000U) { // |x| == 1
return x_sign ? /* x == -1 */ ... :
/* x == 1*/ ...;
} | |
You should add comments for each branch taken. For example:
if (x_abs == 0x3f80'0000U) { // |x| == 1 return x_sign ? /* x == -1 */ ... : /* x == 1*/ ...; }