How do CPUs calculate things like sin, cos, square root or log?
Polynomial approximations and lookup tables, mostly
>>106440175I'm no export. Iirc that can vary quite a bit, but usually they just calculate a numerical approximation, albeit older cpus might not have this at all.
>>106440175Polynomial approximations and lookup tables.
>>106440191Hah, get sniped by three seconds. Nerd.
>>106440189Ok now that’s spooky. Are you me or am I you?
>>106440197>>106440198guys I'm scared
>>106440189Bank in the day math kids literally had a trigonometric value tables of result of trig functions to the second decimal. This was important for exams, before the first calculators. Back in the day people had to trace graphs without graphing calculators too. Crazy right!
>>106440175very carefully
>>106440175>log:-)
>>106440175
>>106440570If you want to know real pain, look into how the first logarithm tables were calculated.