[LLVMbugs] [Bug 1418] NEW: APInt::toString prints extra digits when radix != 10 and bitwidth > 64
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon May 14 17:36:37 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1418
Summary: APInt::toString prints extra digits when radix != 10 and
bitwidth > 64
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: Support Libraries
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rspencer at reidspencer.com
The rather naive implementation of APInt::toString for radix!=10 and bitwidth >
64 causes it to print more digits than the bit width of the APInt specifies. The
algorithm prints whole words, even if only a few bits of the highest order word
are used. It needs to not do this.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list