aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/eval_fat.ads
diff options
context:
space:
mode:
authorGeert Bosch <bosch@gcc.gnu.org>2001-12-18 01:03:38 +0100
committerGeert Bosch <bosch@gcc.gnu.org>2001-12-18 01:03:38 +0100
commit3a77b68d5fc35c66bcd046781a1b4bf2dfedf43c (patch)
tree55411d765913c523d99194e1fdf09285ac70e7f4 /gcc/ada/eval_fat.ads
parentced7d98b9b110a3bc5ecbf3a2b9d20f9d8ac50ea (diff)
downloadgcc-3a77b68d5fc35c66bcd046781a1b4bf2dfedf43c.zip
gcc-3a77b68d5fc35c66bcd046781a1b4bf2dfedf43c.tar.gz
gcc-3a77b68d5fc35c66bcd046781a1b4bf2dfedf43c.tar.bz2
gnat_rm.texi: Fix minor typos.
* gnat_rm.texi: Fix minor typos. Found while reading the section regarding "Bit_Order Clauses" that was sent to a customer. Very interesting documentation! * sem_case.adb (Choice_Image): Avoid creating improper character literal names by using the routine Set_Character_Literal_Name. This fixes bombs in certain error message cases. * a-reatim.adb: Minor reformatting. * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the case where the formal is an extension of another formal in the current unit or in a parent generic unit. * s-tposen.adb: Update comments. Minor reformatting. Minor code clean up. * s-tarest.adb: Update comments. Minor code reorganization. * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag when Java_VM. * exp_attr.adb: Minor reformatting * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle derivations nested within a child unit: verify that the parent type is declared in an outer scope. * sem_ch12.adb: Minor reformatting * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post warning if current unit is a predefined one, from which bodies may have been deleted. * eval_fat.ads: Add comment that Round_Even is referenced in Ada code Fix header format. Add 2001 to copyright date. * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference, which caused CE during compilation if checks were enabled. From-SVN: r48136
Diffstat (limited to 'gcc/ada/eval_fat.ads')
-rw-r--r--gcc/ada/eval_fat.ads6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/eval_fat.ads b/gcc/ada/eval_fat.ads
index b3e398a..889308a 100644
--- a/gcc/ada/eval_fat.ads
+++ b/gcc/ada/eval_fat.ads
@@ -6,9 +6,9 @@
-- --
-- S p e c --
-- --
--- $Revision: 1.4 $ --
+-- $Revision$
-- --
--- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -49,7 +49,9 @@ package Eval_Fat is
-- The compile time representation of the floating-point root type
type Rounding_Mode is (Floor, Ceiling, Round, Round_Even);
+ for Rounding_Mode use (0, 1, 2, 3);
-- Used to indicate rounding mode for Machine attribute
+ -- Note that C code in gigi knows that Round_Even is 3
Rounding_Was_Biased : Boolean;
-- Set if last use of Machine rounded a halfway case away from zero