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