forked from M-Labs/artiq
1
0
Fork 0

compiler: add test for int64(round(1.0)).

This commit is contained in:
whitequark 2018-05-14 15:56:19 +00:00
parent 019c92aa02
commit 9a1bd66d2c
1 changed files with 4 additions and 1 deletions

View File

@ -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))