1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:34:41 -07:00

Clarify that conversions to complex are OK.

R=r
CC=golang-dev
https://golang.org/cl/296042
This commit is contained in:
Ian Lance Taylor 2010-03-08 13:45:03 -08:00
parent df53544f4f
commit 5cf707b499

View File

@ -3262,7 +3262,7 @@ When converting a floating-point number to an integer, the fraction is discarded
</li>
<li>
A value of complex type may be converted to a different complex type,
but there is no conversion between complex and any other type.
but there is no conversion from complex to any other type.
<li>
When converting a number to a floating-point or complex type,
the result value is rounded