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,

> Some shells have its own built-in versions of printf(1).

Sure enough.

  $/usr/bin/printf "%x\n" 0xffffc00000000000
  printf: 0xffffc00000000000: Result too large or too small
  7fffffffffffffff


Attachment: pgpBvKW_n7s_K.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index