TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

1M+ lines of code to identify if a number is even

5 pointsby prakhargurunaniover 3 years ago

3 comments

gregjorover 3 years ago
I offer this as a free SAAS. Nothing to install.<p><a href="https:&#x2F;&#x2F;iseven.dev&#x2F;20" rel="nofollow">https:&#x2F;&#x2F;iseven.dev&#x2F;20</a><p><a href="https:&#x2F;&#x2F;iseven.dev&#x2F;21" rel="nofollow">https:&#x2F;&#x2F;iseven.dev&#x2F;21</a><p>Also isodd as a service:<p><a href="https:&#x2F;&#x2F;isodd.dev&#x2F;13" rel="nofollow">https:&#x2F;&#x2F;isodd.dev&#x2F;13</a><p><a href="https:&#x2F;&#x2F;isodd.dev&#x2F;16" rel="nofollow">https:&#x2F;&#x2F;isodd.dev&#x2F;16</a>
评论 #28285769 未加载
评论 #28285517 未加载
compressedgasover 3 years ago
This only provides support for 4.16e-09% of the 53-bit double integer range. Complete support by the method used would require at least 2,401,919,801,200 megabytes.
iabover 3 years ago
Before I opened this, I thought: please god let this be a giant switch statement, and lo