On Wed Sep 16 04:45:58 2015, gfldex wrote:
> say sprintf('%f %f %f %f', Mu, Any, Nil, NaN);
> # output: rakudo-moar ed47bb: OUTPUT«0.000000 0.000000 0.000000
> 0.000000␤»
> #         rakudo-jvm ed47bb: OUTPUT«java.lang.NumberFormatException:
> For input string: "nan"␤»
> # NaN should numify to NaN for sure and so may Mu, Any and Nil

The output for NaN is NaN now, the rest is unchanged:

$ perl6-m -e 'say sprintf("%f %f %f %f", Mu, Any, Nil, NaN);'
0.000000 0.000000 0.000000 NaN

Reply via email to