Tag Archives: integer

Arduino s16.15 Fixed Point Math Routines

It is important to note, that fixed point math comes in many flavors. For example, a 16-bit integer can implement 31 different fixed point formats, signed and unsigned Q1 through Q16 (Q number format). A couple of popular 16-bit formats … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | Leave a comment

Integer-Based Square Roots

While working on a recent project, I had the need to calculate the square root of a (long) integer. I remembered I wrote some integer-based math functions way-back in the early 90’s. So I searched through a pile of old … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment