Ada Programming/Keywords/rem
From Wikibooks, open books for an open world
Contents |
[edit] 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)
[edit] See also
[edit] Wikibook
[edit] Ada 95 Reference Manual
- 2.9 Reserved Words (Annotated)
- Annex P (informative) Syntax Summary (Annotated)
- 4.5.5 Multiplying Operators (Annotated)
[edit] Ada 2005 Reference Manual
- 2.9 Reserved Words (Annotated)
- Annex P (informative) Syntax Summary (Annotated)
- 4.5.5 Multiplying Operators (Annotated)
[edit] Ada Quality and Style Guide
| Ada Keywords | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| Ada Operators | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|