fix: missing complex types
* Added missing complex types * Fixed missing complex types
This commit is contained in:
parent
160f9f38e6
commit
320bb1c177
@ -31,7 +31,7 @@ package main
|
||||
// and read the comments there
|
||||
//
|
||||
// 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 f64 float64
|
||||
|
||||
// complex types
|
||||
var c64 complex64
|
||||
var c128 complex128
|
||||
|
||||
// bool type
|
||||
var b bool
|
||||
|
||||
@ -32,6 +36,7 @@ func main() {
|
||||
fmt.Println(
|
||||
i, i8, i16, i32, i64,
|
||||
f32, f64,
|
||||
c64, c128,
|
||||
b, r, by,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user