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.