fix: missing complex types
* Added missing complex types * Fixed missing complex types
This commit is contained in:
committed by
Inanc Gumus
parent
160f9f38e6
commit
320bb1c177
@ -31,7 +31,7 @@ package main
|
|||||||
// and read the comments there
|
// and read the comments there
|
||||||
//
|
//
|
||||||
// EXPECTED OUTPUT
|
// EXPECTED OUTPUT
|
||||||
// 0 0 0 0 0 0 0 false 0 0
|
// 0 0 0 0 0 0 0 (0+0i) (0+0i) false 0 0
|
||||||
// ""
|
// ""
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
|
|
||||||
|
@ -21,6 +21,10 @@ func main() {
|
|||||||
var f32 float32
|
var f32 float32
|
||||||
var f64 float64
|
var f64 float64
|
||||||
|
|
||||||
|
// complex types
|
||||||
|
var c64 complex64
|
||||||
|
var c128 complex128
|
||||||
|
|
||||||
// bool type
|
// bool type
|
||||||
var b bool
|
var b bool
|
||||||
|
|
||||||
@ -32,6 +36,7 @@ func main() {
|
|||||||
fmt.Println(
|
fmt.Println(
|
||||||
i, i8, i16, i32, i64,
|
i, i8, i16, i32, i64,
|
||||||
f32, f64,
|
f32, f64,
|
||||||
|
c64, c128,
|
||||||
b, r, by,
|
b, r, by,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user