-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathvfclass.v.toml
48 lines (45 loc) · 1.17 KB
/
vfclass.v.toml
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
name = "vfclass.v"
format = "vd,vs2,vm"
[tests]
sew16 = [
[0x7e00], # Quiet NaN
[0x7e01], # Quiet NaN "1"
[0x7e02], # Quiet NaN "2"
[0x7d00], # Signaling NaN
[0x7c00], # Inf
[0xfc00], # -Inf
[0x0000], # 0
[0x8000], # -0
[0xc248], # -3.14159
[0x4248], # 3.14159
[0x0001], # Subnormal
[0x03ff], # Subnormal
]
sew32 = [
[0x7fc00000], # Quiet NaN
[0x7fc00001], # Quiet NaN "1"
[0x7fc00002], # Quiet NaN "2"
[0x7fa00000], # Signaling NaN
[0x7f800000], # Inf
[0xff800000], # -Inf
[0x00000000], # 0
[0x80000000], # -0
[0xc0490e56], # -3.14159
[0x40490fd0], # 3.14159
[0x00000001], # Subnormal
[0x007fffff], # Subnormal
]
sew64 = [
["0x7ff8000000000000"], # Quiet NaN
["0x7ff8000000000001"], # Quiet NaN "1"
["0x7ff8000000000002"], # Quiet NaN "2"
["0x7ff4000000000000"], # Signaling NaN
["0x7ff0000000000000"], # Inf
["0xfff0000000000000"], # -Inf
["0x0000000000000000"], # 0
["0x8000000000000000"], # -0
["0xc00921f9f01b866e"], # -3.14159
["0x400921f9f01b866e"], # 3.14159
["0x0000000000000001"], # Subnormal
["0x000fffffffffffff"], # Subnormal
]