Commit 91389ae
committed
fix(ci): trinity_constants type error, Python ctypes restype, Go test parsing, C++ CMake comment
- Fix trinity_constants.zig: cast u32 to f64 before arithmetic
- Fix Python _binding.py: set restype/argtypes for goldenfloat_phi/trinity
(ctypes defaults to c_int, returning garbage bit patterns)
- Fix Go gf16_test.go: handle string inputs (inf/nan) from vectors.json
- Fix cpp/CMakeLists.txt: replace // comment with # comment1 parent 10f211d commit 91389ae
4 files changed
Lines changed: 47 additions & 10 deletions
File tree
- cpp
- go/goldenfloat
- python/goldenfloat
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
25 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
26 | 50 | | |
27 | 51 | | |
28 | 52 | | |
| |||
43 | 67 | | |
44 | 68 | | |
45 | 69 | | |
| 70 | + | |
46 | 71 | | |
47 | | - | |
| 72 | + | |
48 | 73 | | |
49 | 74 | | |
50 | 75 | | |
| |||
55 | 80 | | |
56 | 81 | | |
57 | 82 | | |
58 | | - | |
| 83 | + | |
59 | 84 | | |
60 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
61 | 89 | | |
62 | 90 | | |
63 | 91 | | |
64 | | - | |
65 | | - | |
66 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
67 | 98 | | |
68 | 99 | | |
69 | 100 | | |
70 | | - | |
| 101 | + | |
71 | 102 | | |
72 | 103 | | |
73 | 104 | | |
| |||
125 | 156 | | |
126 | 157 | | |
127 | 158 | | |
128 | | - | |
| 159 | + | |
129 | 160 | | |
130 | 161 | | |
131 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
135 | 141 | | |
136 | 142 | | |
137 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments