Re: LaTeX required primitives: some questions

Bruno Le Floch <[email protected]> Wed, 21 Apr 2021 17:51:24 +0200
Newsgroups gmane.comp.tex.latex.latex3
Message-ID <[email protected]>
On 4/20/21 12:36 PM, Joseph Wright wrote:
> I don't think I've ever seen a test of what happens if \pdffilesize is used on a
> truly massive file.
> 

In an interactive session, with test.dat around 8GB, I get

*\message{\pdffilesize{test.dat}}
7733552500
*\count0=\pdffilesize{test.dat}\relax
! Number too big.
<inserted text> 7733552500

<*> \count0=\pdffilesize{test.dat}
                                  \relax
?

Bruno