[libc-commits] [libc] [libc] Optimize BigInt→decimal in IntegerToString (PR #123580)
Simon Tatham via libc-commits
libc-commits at lists.llvm.org
Mon Feb 3 09:15:52 PST 2025
================
@@ -297,6 +298,51 @@ TEST(LlvmLibcIntegerToStringTest, Sign) {
EXPECT(DEC, 1, "+1");
}
+TEST(LlvmLibcIntegerToStringTest, BigInt_Base_10) {
----------------
statham-arm wrote:
Done. The extra tests look a bit repetitive – half of me wanted to try to template them and call the template three times with different types, or something. But perhaps it's better this way because if one (ever) fails then the line number will make it clear which.
https://github.com/llvm/llvm-project/pull/123580
More information about the libc-commits
mailing list