summaryrefslogtreecommitdiff
path: root/gcc/ada/uintp.adb
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-13 18:03:09 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-13 18:03:09 +0000
commitc2f0327042399b100d792f828204e32afe4b78a4 (patch)
treea0f7f9ee4024602fc581b4936e4483304cea1097 /gcc/ada/uintp.adb
parent1a34e48c1d7cf4f23d39788e46f64629cddf53b9 (diff)
downloadgcc-c2f0327042399b100d792f828204e32afe4b78a4.tar.gz
gcc/ada/
* sfn_scan.adb, sfn_scan.ads, sinfo.ads, sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput.ads, snames.ads, sprint.adb, stand.ads, stringt.ads, styleg.adb, styleg.ads, stylesw.adb, stylesw.ads, switch.ads, sysdep.c, table.adb, table.ads, targparm.ads, tb-gcc.c, tbuild.ads, tracebak.c, trans.c, tree_io.adb, treepr.adb, types.adb, types.ads, uintp.adb, uintp.ads, utils.c, utils2.c, validsw.ads, vms_conv.adb, vms_conv.ads, vms_data.ads, widechar.adb, widechar.ads, xeinfo.adb, xgnatugn.adb, xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads, xsinfo.adb: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134243 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/uintp.adb')
-rw-r--r--gcc/ada/uintp.adb12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ada/uintp.adb b/gcc/ada/uintp.adb
index 86a3187fd74..ffc636771d1 100644
--- a/gcc/ada/uintp.adb
+++ b/gcc/ada/uintp.adb
@@ -72,7 +72,7 @@ package body Uintp is
Udigits_Min : Int;
-- These values are used to make sure that the mark/release mechanism does
-- not destroy values saved in the U_Power tables or in the hash table used
- -- by UI_From_Int. Whenever an entry is made in either of these tabls,
+ -- by UI_From_Int. Whenever an entry is made in either of these tables,
-- Uints_Min and Udigits_Min are updated to protect the entry, and Release
-- never cuts back beyond these minimum values.
@@ -142,7 +142,7 @@ package body Uintp is
-- is less than 2**15, the value returned is the input value, in this case
-- the result may be negative. It is expected that any use will mask off
-- unnecessary bits. This is used for finding Arg mod B where B is a power
- -- of two. Hence the actual base is irrelevent as long as it is a power of
+ -- of two. Hence the actual base is irrelevant as long as it is a power of
-- two.
procedure Most_Sig_2_Digits
@@ -172,7 +172,7 @@ package body Uintp is
Remainder : out Uint;
Discard_Quotient : Boolean;
Discard_Remainder : Boolean);
- -- Compute euclidian division of Left by Right, and return Quotient and
+ -- Compute Euclidean division of Left by Right, and return Quotient and
-- signed Remainder (Left rem Right).
--
-- If Discard_Quotient is True, Quotient is left unchanged.
@@ -750,7 +750,7 @@ package body Uintp is
-- This is done in one pass
- -- Mathematically: assume base congruent to 1 and compute an equivelent
+ -- Mathematically: assume base congruent to 1 and compute an equivalent
-- integer to Left.
-- If Sign = -1 return the alternating sum of the "digits"
@@ -759,7 +759,7 @@ package body Uintp is
-- (where D1 is Least Significant Digit)
- -- Mathematically: assume base congruent to -1 and compute an equivelent
+ -- Mathematically: assume base congruent to -1 and compute an equivalent
-- integer to Left.
-- This is used in Rem and Base is assumed to be 2 ** 15
@@ -2742,7 +2742,7 @@ package body Uintp is
-- The value is outside the direct representation range and must
-- therefore be stored in the table. Expand the table to contain
- -- the count and tigis. The index of the new table entry will be
+ -- the count and digits. The index of the new table entry will be
-- returned as the result.
Uints.Increment_Last;