amxx giving strange output on sum of float and any
So, I was testing something and noticed that if you add a variable of type float to one of type any, it will give you a strange result. I guess this is a bug with the compiler.
Code:
Output: Code:
number1 + number2: -0.000000 |
Re: amxx giving strange output on sum of float and any
Float operators are defined only for (Float, Float), (_, Float) and (Float, _) tagged operands. "any" is literally anything and you shouldn't just treat it as an integer.
|
| All times are GMT -4. The time now is 17:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.