FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
circuitpython/tests/float/array_construct.py at main · ams1/circuitpython · GitHub
ams1
circuitpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
circuitpython
/
tests
/
float
/
array_construct.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
13 lines (11 loc) · 300 Bytes
Breadcrumbs
circuitpython
/
tests
/
float
/
array_construct.py
Copy path
File metadata and controls
13 lines (11 loc) · 300 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
# test construction of array from array with float type
try
:
from
uarray
import
array
except
ImportError
:
try
:
from
array
import
array
except
ImportError
:
print
(
"SKIP"
)
raise
SystemExit
print
(
array
(
"f"
,
array
(
"h"
, [
1
,
2
])))
print
(
array
(
"d"
,
array
(
"f"
, [
1
,
2
])))
Back
|
FazBrowse Home
|
New Git URL