共有 0 个贴子
没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > Fixed Point Math |
Fixed Point Math
|
1 | 0 | 19 |
贡献者 | 讨论 | 代码提交 |
A library of C routines to perform fixed-point (Q-format) mathematical operations, suitable for Embedded DSP systems.
Features:
(1) Conversion from floating-point to fixed-point and vice versa (with or without rounding)
(2) Extracting integer-part and fractional-part of Q-number
(3) Add, Subtract, Multiply, Divide (different versions for dealing with rounding and saturation available)
(4) Trig functions: sin, cos, asin, acos, atan, atan2
(5) Sqrt, Abs, Magnitude-phase, Log, Exp