Status: Untriaged
Owner: ----
New issue 4207 by [email protected]: 0/0 is truthy in some cases
https://code.google.com/p/v8/issues/detail?id=4207
Version: latest commit on git master:
86594b7da24cce04f0801d8033029414433fb4ed
OS: Ubuntu 15.04 x64
Architecture: x64
What steps will reproduce the problem?
1. Get the latest V8, and compile a ia32.release version (properly others
as well)
2. Run the attached script with the debugging shell (d8) with
arguments "--always_opt --turbo"
3. Observe that 0/0 acts as a truthy value.
What is the expected output?
"false
false
false
false
false
1
1"
What do you see instead?
"false
true
false
false
false
NaN
1"
Attachments:
testcase.js 551 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.