Examples of integer math expressions follow:
4 + 5 | .... which equals 9
|
| 2*7 + (10/-5) + 5^2 | .... which equals exactly 37 (truncations* possible with / and ^)
|
The Expression Tutor Input Box
* IMPORTANT NOTE: When performing integer math, division (/) and exponentiation (^) may yield somewhat unexpected results.
Divisions will truncate to nearest integer (e.g. 9/5 = 1.8 which truncates to 1.)
Negative exponents will produce a 0 result (e.g. 2^-2 = 1/(2^2) = 1/4 which truncates to zero (0).)
This is intended for educational purposes only and is limited in the size and precision of numbers it can handle.
LearningKeys.com ,
Member Services ,
About Us ,
Privacy Policy,
Terms & Conditions,
Contact Us
Copyright © 2009
LearningKeys.com
. All rights reserved.
Last modified: February 17, 2003