Hacker News
- Testing for -0 in JavaScript -> function isNegativeZero(x) {return x === 0 && 1/x < 0;} http://www.wirfs-brock.com/allen/posts/128 18 comments programming
- Testing for negative zero in JavaScript http://www.wirfs-brock.com/allen/posts/128 10 comments javascript
Linking pages
Linked pages
Would you like to stay up to date with Web Development? Checkout Web Development
Weekly.
Related searches:
Search whole site: site:wirfs-brock.com
Search title: Testing for -0 in JavaScript
See how to search.