[libc-commits] [PATCH] D80612: [libc] Add implementations of ceil[f], floor[f] and trunc[f] from math.h.
Alex Brachet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Sat May 30 12:43:09 PDT 2020
abrachet accepted this revision.
abrachet added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: libc/utils/FPUtil/FloatOperations.h:47
+ using Properties = FloatProperties<FPType>;
+ bits = bits & Properties::exponentMask;
int e = (bits >> Properties::mantissaWidth); // Shift out the mantissa.
----------------
Maybe `&=`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80612/new/
https://reviews.llvm.org/D80612
More information about the libc-commits
mailing list