Commit 4149297
fix(test): use multiply-by-0.01 for OHLC prices to enable ALP factor-100 round-trip
Division by 100.0 and multiplication by 0.01 differ in IEEE 754, causing
ALP to miss the factor-100 case and fall back to ~1e12, producing 55-bit
encoded values. Switching to *0.01 reduces Vortex/CSV ratio from 1.4x to 4x.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6237e38 commit 4149297
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments