Hello,
I have a short but puzzling question:
I am running the following elementary code in Ox
#include <oxstd.h>
main()
{
decl variable1 = 856*600;
decl variable2 = 9856*600;
decl variable3 = 69856*600;
decl variable4 = 769856*600;
decl variable5 = 4769856*600;
print("\n variable1 = ", variable1);
print("\n variable2 = ", variable2);
print("\n variable3 = ", variable3);
print("\n variable4 = ", variable4);
print("\n variable5 = ", variable5);
}
The results I get are
variable1 = 513600
variable2 = 5913600
variable3 = 41913600
variable4 = 461913600
variable5 = -1433053696
So the fifth product is not only incorrect in value but it has also the
wrong sign! I must be doing something wrong but I cannot figure out what. I
would appreciate any help you could provide.
Vasilis
|