diff options
author | chai <chaifix@163.com> | 2021-12-02 12:43:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-12-02 12:43:19 +0800 |
commit | 83fedef41f6dcea4dde010abb025b7ed647d0501 (patch) | |
tree | 365e364da74872958f27693e6c1e609bf6e71e97 /Client/Source/float2fixed/main.cpp | |
parent | 7a798253441a8bd499d36bd8153b92ab08de8a9f (diff) |
*fix
Diffstat (limited to 'Client/Source/float2fixed/main.cpp')
-rw-r--r-- | Client/Source/float2fixed/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Client/Source/float2fixed/main.cpp b/Client/Source/float2fixed/main.cpp index 5c4fa40..cc92bd1 100644 --- a/Client/Source/float2fixed/main.cpp +++ b/Client/Source/float2fixed/main.cpp @@ -8,7 +8,7 @@ typedef fpm::fixed_16_16 fixed16; int main()
{
- fixed16 n = 0.95f;
+ fixed16 n = -1.0f;
cout << n.raw_value();
getchar();
|