Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
andhow
· 16y ago · 0 comments
The VM controls the creation and manipulation of doubles, so beggars and nasties do not have the ability to create a non-canonical NaN.
Comments
[–]
jws
16y ago
There is a foreign function interface floating around in Mozilla land. js-ctypes. I have no idea how it relates to this javascript engine, but it tantalizes.
[–]
andhow
OP
16y ago
js-ctypes goes through the JSAPI, so the JS engine can still guard against rogue NaNs.