forked from OpenResearchComputation/fable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintrinsics.py
More file actions
103 lines (100 loc) · 726 Bytes
/
intrinsics.py
File metadata and controls
103 lines (100 loc) · 726 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
set_lower = set("""\
abs
acos
aimag
aint
alog
alog10
amax0
amax1
amin0
amin1
amod
anint
asin
atan
atan2
cabs
cdabs
char
cmplx
conjg
cos
cosh
dabs
dacos
dasin
datan2
dble
dcmplx
dconjg
dcos
dexp
dim
dimag
dlog
dlog10
dmax1
dmin1
dprod
dsign
dsin
dsqrt
dtan
exp
float
iabs
iargc
iand
ichar
idnint
index
int
ishft
isign
len
len_trim
lge
lgt
lle
llt
lnblnk
log
log10
max
max0
max1
maxloc
min
min0
min1
mod
nint
real
sign
sin
sinh
sngl
sqrt
system
tan
tanh
transfer
""".splitlines())
extra_set_lower = set("""\
cpu_time
date
getarg
getenv
time
""".splitlines())
io_set_lower = set("""\
flush
""".splitlines())
is_modified_info_by_name = {
"cpu_time": (0,),
"date": (0,),
"getarg": (1,),
"getenv": (1,),
"time": (0,)
}