blob: f6dd213f46ed29555c7d0e3e3b884b6a5d1a0c77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* Project nGenEx
Destroyer Studios LLC
Copyright © 1997-2004. All Rights Reserved.
SUBSYSTEM: nGenEx.lib
FILE: Fix.cpp
AUTHOR: John DiCamillo
OVERVIEW
========
Fixed point number class with 16 bits of fractional precision
*/
#include "MemDebug.h"
#include "Fix.h"
// +--------------------------------------------------------------------+
const fix fix::one = fix(1);
const fix fix::two = fix(2);
const fix fix::three = fix(3);
const fix fix::five = fix(5);
const fix fix::ten = fix(10);
|