# New Ticket Created by  Patrick R. Michaud 
# Please include the string:  [perl #118253]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118253 >


The printf and sprintf functions are unable to handle %d 
conversions on large integers:

  16:46 <pmichaud> r: say 42**20
  16:46 <camelia> rakudo ee11f7: OUTPUT«291733167875766667063796853374976␤»
  16:46 <pmichaud> r: printf("%d\n", 42**20)
  16:46 <camelia> rakudo ee11f7: OUTPUT«118489088␤»
  16:46  * pmichaud files rakudobug

This also seems to affect ticket #114760, which has trouble
printing large years in date strings.

Pm

Reply via email to