Floating point subtraction works on float and double. Floating point subtraction results in a fractional value that can be represented in IEEE format.
Subtraction is left associative. That means a - b - c means (a - b) - c not a - ( b - c ). Subtractions are performed left to right.
- can also be used an a unary operator, e.g. a = -b;
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.62] | ![]() | ||
| You are visitor number 11. | |||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | ||
| http://mindprod.com/jgloss/subtraction.html | J:\mindprod\jgloss\subtraction.html | ||