# Math

Algorithms for use on micro-controllers

- Discrete Time Polynomial (Savitsky-Golay) Filtering
- Sums of Integers
- Table of formula for each power
- Algorithms for generating those formulae

- Square Root
- is it a power of 2?
- Line Drawing (rasterizing)
- bit masks (useful in graphics)
- twiddling (extract of line drawing useful for things like increasing the resolution of a PWM output)
- float to ratio (finding an integer ratio nearest to a given ieee float, useful for twiddling and hence for line drawing)

### Like this:

Like Loading...