One could justify it, if the rounding rule is "rounding to nearest, ties to 
even".

I find other behaviour more strange:

-0.5 is rounded to -0 with prec=0
-0.05 is rounded to -0.1 with prec=1
0.15 rounded to 0.1 with prec=1

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to