resonance 1.0.1
Loading...
Searching...
No Matches
afix.h
Go to the documentation of this file.
1#pragma once
2
11class AFix {
12public:
22 static int onehalf;
23
32 static int e;
33
42 static int pi;
43
53 static int epsilon;
54
63 static int max;
64};
Fixed-point number in 24.8 format.
Definition afix.h:11
static int max
The largest value whose whole part fits a signed halfword, 0x7fffff.
Definition afix.h:63
static int pi
Pi, 804.
Definition afix.h:42
static int onehalf
One half, 0x80.
Definition afix.h:22
static int epsilon
The smallest positive value, 1.
Definition afix.h:53
static int e
Euler's number, 695.
Definition afix.h:32