FR_Math

Compact fixed-point math library for embedded systems. 4KB flash, zero dependencies, any radix.

Author
M. A. Chatterjee
Website
https://github.com/deftio/fr_math
Category
Other
License
BSD 2 Clause
Library Type
Contributed
Architectures
Any

Integer-only fixed-point math with caller-selectable binary point. Provides trig (sin, cos, tan, atan2), log/exp, sqrt, hypot, wave generators (sqr, tri, saw, pwm, noise), ADSR envelope, and 2D transforms. Pure C (C99), works on AVR, ESP32, RP2040, Cortex-M, RISC-V, MSP430, and any board with a C compiler. No floating-point hardware or libraries required.

Downloads

Filename Release Date File Size
FR_Math-2.0.8.zip 2026-05-05 590.93 KiB
FR_Math-2.0.7.zip 2026-04-26 489.38 KiB
FR_Math-2.0.6.zip 2026-04-25 486.07 KiB
FR_Math-2.0.5.zip 2026-04-20 437.11 KiB
FR_Math-2.0.2.zip 2026-04-19 430.30 KiB