The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Entry #100130 - Linear Interpolation!

Last post 06-11-2007 12:09 PM by Alex Papadimoulis. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-11-2007 12:09 PM

    Entry #100130 - Linear Interpolation!

    Addition is done through a simple bit-wise operation and a recursive call on itself. Subtraction is done via a Linear Interpolation (cause saying "Linear Interpolation" is cool). Multiplication is attempted first on a result set loaded into memory, Multiplication is then defaulted to an iterative addition solution. Division performs an exaustive search of the multiplication result table (it might be there, no point in wasting precious MPU cycles!!!). If nothing is found, a simple division occurs.
Page 1 of 1 (1 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems