In current V8, NaN values carry their observable representations around with them — e.g. f64ArrA[0] = f64ArrB[0] preserves bits, doesn’t map to 0x7FF8000000000000. I thought this was something that stopped a long time ago, is this a regression or something I’m remembering wrong?
-
-
/ducks cos I don't know.
@leszekswirski you know stuff -
V8 doesn't canonicalize NaNs in general. We do for holey arrays because we represent to hole as a special NaN.
- 7 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.