Ada Programming/Delimiters/-

Arithmetic Subtraction
The "-" operator is defined as arithmetic subtraction for all numeric types.

"-" (Left, Right : T) T;

Usage
A : Float   := 5.0 - 2.0; B : Integer := 5 - 2;

Minus sign
The "-" unary operator is defined as arithmetic negative sign for all numeric types.

"-" (Left : T) T;

Usage
A : Float   := -5.0; B : Integer := -5; C : Integer := -B;

Wikibook

 * Ada Programming
 * Ada Programming/Delimiters
 * Ada Programming/Operators
 * Ada Programming/Mathematical calculations

Ada 2005 Reference Manual


|-