tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] Fix printf(1) for integer larger than INTMAX_MAX



All,

> I forgot to mention in the previous message: %[oux] also fail for numbers
> larger than 1<<63:
>
> $ printf '%x\n' 0xffffc00000000000
> printf: 0xffffc00000000000: Result too large or too small
> 7fffffffffffffff

I am seeing something different:

  $printf '0x%x\n' 0xffffc00000000000
  0xffffc00000000000

I am running 9.99.72, so I could be a little out of date.

Aran

Attachment: pgpHjvIECI5nD.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index