+x is a shorthand for
-x is a shorthand for
for floating-point and complex numbers,
+x is just
-x is the negation of
Why is the unary operation on an int different than for a float/complex?
Share this highlighthttp://www.safaribooksonline.com/a/the-go-programming/945833/