FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/tests/expr15.py at main · anutosh491/lpython · GitHub
anutosh491
/
lpython
Public
forked from
lcompilers/lpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lpython
/
tests
/
expr15.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (18 loc) · 295 Bytes
Breadcrumbs
lpython
/
tests
/
expr15.py
Copy path
File metadata and controls
25 lines (18 loc) · 295 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from
lpython
import
f64
,
c64
,
i32
,
c32
def
test1
()
->
f64
:
x
:
f64
x
=
1.0
return
x
def
test2
()
->
c64
:
x
:
c64
x
=
complex
(
2
,
2
)
return
x
def
test3
()
->
i32
:
x
:
c64
x
=
4j
y
:
c32
y
=
c32
(
4j
)
return
0
print
(
test1
())
print
(
test2
())
print
(
test3
())
Back
|
FazBrowse Home
|
New Git URL