With the next version bump for nqp this will be fixed: $ perl6-m -e 'say sprintf "%12.5f", -Inf' -Inf
$ perl6-m -e 'say sprintf "%12.5f", NaN' NaN
Christian Bartolomaeus via RT Tue, 10 Nov 2015 12:55:36 -0800
With the next version bump for nqp this will be fixed: $ perl6-m -e 'say sprintf "%12.5f", -Inf' -Inf
$ perl6-m -e 'say sprintf "%12.5f", NaN' NaN