forked from M-Labs/artiq
compiler: add test for int64(round(1.0)).
This commit is contained in:
parent
019c92aa02
commit
9a1bd66d2c
|
@ -1,5 +1,8 @@
|
||||||
# RUN: %python -m artiq.compiler.testbench.inferencer +mono %s >%t
|
# RUN: %python -m artiq.compiler.testbench.inferencer +mono %s >%t
|
||||||
# RUN: OutputCheck %s --file-to-check=%t
|
# RUN: OutputCheck %s --file-to-check=%t
|
||||||
|
|
||||||
# CHECK-L: numpy.int64
|
# CHECK-L: 2:numpy.int64
|
||||||
int64(2)**32
|
int64(2)**32
|
||||||
|
|
||||||
|
# CHECK-L: round:<function round>(1.0:float):numpy.int64
|
||||||
|
int64(round(1.0))
|
||||||
|
|
Loading…
Reference in New Issue