[Poppler-bugs] [Bug 44085] pdfinfo/pdffonts cannot process >2GB files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 24 05:25:34 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=44085

--- Comment #37 from Adrian Johnson <ajohnson at redneon.com> ---
I could add a comment but it seemed obvious to me that since getNum returns a
double it is not intended for getting exact integer values. The patch does not
make the accuracy of getNum any worse than it was before. Anything needing
exact values should be using getInt/getInt64. 

As you say, this only affects huge values. A double has 53 bits of significand
so it is only values with magnitude greater than 2^53 - 1 that can not be
exactly represented.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130124/8185c9b0/attachment.html>


More information about the Poppler-bugs mailing list