Category Archives: Math

Cache And Carry

The Hofstadter Q sequence, like the Fibonacci numbers, is best computed with a caching scheme. But bring a lot of memory. Continue reading

Posted in Algorithms, BASIC, Coding, Math | Leave a comment

The Old XOR Switcheroo

Swap two binary integers, without using a temporary variable. Not magic — XOR. Continue reading

Posted in Algorithms, Assembly, Coding, Digital, Math | Tagged , , , | Leave a comment

Mini Museum: Slide Rule

Slide rules — analog mechanical calculators — helped build the modern world, three sig figs or so at a time. Continue reading

Posted in Lore, Math, Mechanical, Mini Museum, Nostalgia, Tools | Tagged , , , , , , | Leave a comment

On Beyond Double

Long Double is long. 80 bits long. And it’s part of (modern) standard C! Continue reading

Posted in C, Math | Tagged , , , , | Leave a comment