MikeTrendsTrends right now

search

fast inverse square root

Trends

  1. 1
    Mysterious 'what the...?' code comment left in shipped source●The comment in the original code says "what the ...?", and it was left in the shipped source. Noone who found this fileMmastodonTechnologySoftware49 h ago

    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.