hex/crates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sebastian Herrlinger 29e42bd613 Keyboard core: the swipe decoder's math from the libm crate, alike on iOS and Android
The decoder's exp, log, atan2 and cos, and the slid tap's hypot, now come
from the pure-Rust libm crate instead of each platform's own libm (Apple's
on iOS, bionic's on Android), so both platforms read every swipe alike,
bit for bit. The owner chose this (D0, option a), accepting the changes
against Apple's libm measured on the 200,000 Swift-recorded swipes:

- on dev's earlier English model: 2 readings change order (en case 6849,
  "cured" now ahead of "cued", the top word; es case 192084, "preso" and
  "pesó" at positions 3 and 4), 0 change `scored`, and 16,880 of 767,854
  costs change (15,315 by 1 ulp, 1,564 by 2, one by 0.095 nats);
- recorded again on dev's current model and rows: 1 reading changes
  order (es case 196995, "porquero" and "piquero" at positions 2 and 3),
  0 change `scored`, and 16,749 of 770,227 costs change (15,103 by 1 ulp,
  1,645 by 2, one by 3).

The parity fixture keeps the Swift decoder's words, order and `scored`
(none change) with the core's costs: 133 of its 6,195 move by 1 or 2 ulps.
Its header says so (`"costs"`), and swipe_parity.rs then requires every
cost bit for bit; on a Swift-recorded export it counts changed costs
instead. SwipeParityExportTests writes the same header field.
2026-11-23 00:41:48 +01:00
..
capture feat(screenshots): Export asks where to save, and recordings dim around their target (#2297) 2026-11-21 17:18:56 -08:00
capture-core feat(screenshots): a recording toolbar, smaller movies with sound, and playback in the editor (#2166) 2026-11-21 08:26:36 -08:00
console Windows: hex.com console entry point beside the GUI hex.exe (#1374) 2026-11-05 06:52:51 -05:00
keyboard Keyboard core: the swipe decoder's math from the libm crate, alike on iOS and Android 2026-11-23 00:41:48 +01:00
router annotate: start capture summaries with [hex-annotate …] (#2230) 2026-11-21 14:34:56 -05:00