Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dis-sys
on Nov 1, 2022
|
parent
|
context
|
favorite
| on:
Ask HN: What piece of code/codebase blew your mind...
this is not just source code, it is much better to be called magic.
also love the story behind it.
lscharen
on Nov 1, 2022
[–]
Here’s a paper that explains how to derive that magic constant and others depending on what measure of error to minimize in the sqrt approximation.
http://www.lomont.org/Math/Papers/2003/InvSqrt.pdf
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
also love the story behind it.