[libc-commits] [PATCH] D118962: [libc] Implement log1pf correctly rounded to all rounding modes.
Paul Zimmermann via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Feb 4 00:55:20 PST 2022
zimmermann6 added a comment.
I get several warnings when I compile this version:
In file included from /localdisk/zimmerma/llvm-project/libc/src/stdlib/strtold.cpp:11:
In file included from /localdisk/zimmerma/llvm-project/libc/src/__support/str_to_float.h:16:
/localdisk/zimmerma/llvm-project/libc/src/__support/high_precision_decimal.h:115:42: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
if (roundToDigit < 0 || roundToDigit >= this->num_digits) {
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
/localdisk/zimmerma/llvm-project/libc/src/__support/high_precision_decimal.h:121:26: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
roundToDigit + 1 == this->num_digits) {
~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118962/new/
https://reviews.llvm.org/D118962
More information about the libc-commits
mailing list