Ada Programming/Keywords/rem
< Ada Programming < KeywordsComputing » Computer Science » Computer Programming » Ada Programming

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 | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.