Mmastodon TechnologySoftware first seen 7 h ago, last 6 h ago, peak #10
Mysterious 'what the...?' code comment left in shipped source
Original: The comment in the original code says "what the ...?", and it was left in the shipped source. Noone who found this file
A source file shipped with an unexplained constant and a profane comment reading "what the...?" is drawing attention among programmers. The story being shared: no one reviewing the file could explain the value, someone eventually derived the better constant but never documented the method. The constant relates to a Newton-Raphson iteration that lands within 0.175% of the correct result after one step, echoing the famous fast inverse square root trick.
Why now: Programmers are amused by undocumented magic constants in shipped code, a familiar phenomenon popularised by Quake's fast inverse square root.
Newton-Raphson methodfast inverse square root
Evidence
API: https://socialmediatrends-api.osmike.com/v1/trends/477852