aboutsummaryrefslogtreecommitdiff
path: root/Client/Source/float2fixed
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-12-02 12:43:19 +0800
committerchai <chaifix@163.com>2021-12-02 12:43:19 +0800
commit83fedef41f6dcea4dde010abb025b7ed647d0501 (patch)
tree365e364da74872958f27693e6c1e609bf6e71e97 /Client/Source/float2fixed
parent7a798253441a8bd499d36bd8153b92ab08de8a9f (diff)
*fix
Diffstat (limited to 'Client/Source/float2fixed')
-rw-r--r--Client/Source/float2fixed/main.cpp2
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();