W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > May 2017

Re: [fxtf-drafts] [geometry] 0/-0 equality in "validate and fixup", isIdentity, is2D

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Fri, 12 May 2017 13:53:35 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-301082483-1494597213-sysbot+gh@w3.org>
In general we've tended toward treating +0 and -0 as equivalent in new JS APIs that depend on identity, using the SameValueZero operation. This includes Map, Set, and Array.prototype.includes. I don't think this has come up very often in the web platform yet though.

GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/152#issuecomment-301082483 using your GitHub account
Received on Friday, 12 May 2017 13:53:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:21 UTC