this isn't a signed zero, this is a very small negative float rounded off 
by fmt.

it has as little actual different to zero as is possible to get (in float64 
in this case) so will make as little difference to further calculation as 
it is possible to get.

so either "-0.000000" or " 0.000000" are produced depending on an 
impossible to predict rounding difference, ie are randomly produced. this 
happens no where else but when a calculation would have been zero with 
unlimited storage for the float.

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to