Ada Programming/Keywords/rem
Operator rem
The rem keyword is used as the remainder operator, that is, the remainder of the signed integer division. The following formula applies:
A = (A / B) * B + (A rem B)
See also
Wikibook
Ada 95 Reference Manual
- 2.9 Reserved Words (Annotated)
- Annex P (informative) Syntax Summary (Annotated)
- 4.5.5 Multiplying Operators (Annotated)
Ada 2005 Reference Manual
- 2.9 Reserved Words (Annotated)
- Annex P (informative) Syntax Summary (Annotated)
- 4.5.5 Multiplying Operators (Annotated)
Ada Quality and Style Guide
| Ada Keywords | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| Ada Operators | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|