Math class

Home / Features / Math class

The math module can be used for retrieving fixed point sine/cosine values. These math functions are faster because no floating point math is used. When using EDGELIB, you no longer need to create a lookup table for these functions. The math class also contains a quick random number generator.

Also functions to retrieve the integer square roots of values and to convert float values to fixed point values are available. EDGELIB 3.00 introduced fixed point matrix math for use in your (3D) application.

Back to Features

Latest forum posts