aboutsummaryrefslogtreecommitdiff
path: root/Client/Source/Phy2D/Tests/test_math.cpp
blob: 36e834c0f601c68055ce05a6981e964e8c4c331e (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
25
#include "test.h"
#if TEST == TEST_MATH

#include <iostream>

#include "../Common/Math.h"
#include "../Common/Settings.h"
#include "fix32/fix32.hpp"

using namespace Phy2D;

int main(int argc, char **argv) 
{
    fixed32 a = 1111.33333;
    fixed32 b = 23333.44444;
    fixed32 c = a / b;

    std::cout << (double)c;

    getchar();

    return 0;
}

#endif