viksoe.dk

CFixedMath class


This article was submitted .


A tiny class implementing fixed 16.16 integer math.

You can read about Fixed Point Arithmetic on Wikipedia here. It's a slightly complex explanation of how to do simple math operations on floating point numbers using just integer data-types.

Download Files

DownloadSource Code (1 Kb)