Skip to content

Commit bead988

Browse files
committed
tmp
1 parent 4e5d1c9 commit bead988

File tree

5 files changed

+441
-116
lines changed

5 files changed

+441
-116
lines changed

examples/expr2.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
def test_complex():
2-
# x: c64
3-
# x = complex(4.5, 6.7)
4-
# # eps: f64
5-
# # eps = 1e-12
6-
# # print(x)
7-
x: f64[3] = array([1.0, 2.0, 3.0])
2+
x: c64
3+
x = complex(4.5, 6.7)
4+
print(x)
5+
eps: f64
6+
eps = 1e-12
7+
print(x, eps)
8+
y: c64
9+
y = complex(-2.5, 0.3)
10+
print(x * y)
811
test_complex()

integration_tests/test_complex.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ def test_complex_not():
132132

133133
def check():
134134
test_real_imag()
135-
test_complex()
136-
test_complex_abs()
137-
test_complex_binop_32()
138-
test_complex_binop_64()
139-
test_complex_unary_minus()
140-
test_complex_not()
135+
# test_complex()
136+
# test_complex_abs()
137+
# test_complex_binop_32()
138+
# test_complex_binop_64()
139+
# test_complex_unary_minus()
140+
# test_complex_not()
141141

142142
check()

0 commit comments

Comments
 (0)