6 Nov
2025
6 Nov
'25
7:08 p.m.
Jacek Caban (@jacek) commented about dlls/jscript/arraybuf.c:
static double get_f64(const void *p) { return *(const double *)p; } static void set_f64(void *p, double v) { *(double *)p = v; }
+static void set_clamped_u8(void *p, double v) +{ + if(!isfinite(v)) Only NaN needs a dedicated check; infinity is already handled correctly by the boundary check.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9386#note_121063