Ada Programming/Delimiters//

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Ada Lovelace 1838.jpg

Contents


[edit] Operator

[edit] Standard operations

[edit] Arithmetic division

The "/" operator is defined as arithmetic division for all numeric types.

function "/" (Left, Right : T) return T;
[edit] Usage
A : constant Float   := 5.0 / 2.0;  -- A is now 2.5
B : constant Integer := 5 / 2;      -- B is also 2

[edit] See also

[edit] Wikibook

[edit] Ada Reference Manual



Ada Operators
and and then > + abs &
or or else >= - mod
xor = < * rem in
not /= <= ** / not in