OSDN Git Service

Remove the types float and complex.
[pf3gnuchains/gcc-fork.git] / libgo / go / cmath / isnan.go
index 8e971db..2063bb8 100644 (file)
@@ -21,5 +21,5 @@ func IsNaN(x complex128) bool {
 // NaN returns a complex ``not-a-number'' value.
 func NaN() complex128 {
        nan := math.NaN()
-       return cmplx(nan, nan)
+       return complex(nan, nan)
 }