[libc-commits] [PATCH] D118791: [libc][Obvious] Fix a mismatch signature of HighPrecisionDecimal::should_round_up.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Feb 3 19:36:23 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG25d50a00c5f8: [libc][Obvious] Fix a mismatch signature of HighPrecisionDecimal… (authored by lntue).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118791/new/
https://reviews.llvm.org/D118791
Files:
libc/src/__support/high_precision_decimal.h
Index: libc/src/__support/high_precision_decimal.h
===================================================================
--- libc/src/__support/high_precision_decimal.h
+++ libc/src/__support/high_precision_decimal.h
@@ -111,7 +111,7 @@
uint8_t digits[MAX_NUM_DIGITS];
private:
- bool should_round_up(uint32_t roundToDigit) {
+ bool should_round_up(int32_t roundToDigit) {
if (roundToDigit < 0 || roundToDigit >= this->num_digits) {
return false;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118791.405858.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220204/9fbf188e/attachment.bin>
More information about the libc-commits
mailing list