]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ada/s-arit64.ads
trans-array.c (gfc_conv_descriptor_data_get): Rename from gfc_conv_descriptor_data.
[thirdparty/gcc.git] / gcc / ada / s-arit64.ads
index d32bbaab2a5e6b76e09100db1504b395182d6839..55afeaee40365b6cd1bc62deaa518c2e44dea9a4 100644 (file)
@@ -6,9 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                            $Revision: 1.7 $                              --
---                                                                          --
---        Copyright (C) 1994,1995,1996 Free Software Foundation, Inc.       --
+--          Copyright (C) 1992-2004, 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- --
@@ -29,7 +27,7 @@
 -- covered by the  GNU Public License.                                      --
 --                                                                          --
 -- GNAT was originally developed  by the GNAT team at  New York University. --
--- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
+-- Extensive contributions were provided by Ada Core Technologies Inc.      --
 --                                                                          --
 ------------------------------------------------------------------------------
 
@@ -54,7 +52,7 @@ pragma Pure (Arith_64);
 
    function Multiply_With_Ovflo_Check (X, Y : Int64) return Int64;
    --  Raises Constraint_Error if product of operands overflows 64
-   --  bits, otherwise returns the 64-bit signed integer difference.
+   --  bits, otherwise returns the 64-bit signed integer product.
 
    procedure Scaled_Divide
      (X, Y, Z : Int64;
@@ -73,12 +71,11 @@ pragma Pure (Arith_64);
       Q, R    : out Int64;
       Round   : Boolean);
    --  Performs the division X / (Y * Z), storing the quotient in Q and
-   --  the remainder in R. Constraint_Error is raised if Y or Z is zero.
-   --  Round indicates if the result should be rounded. If Round is False,
-   --  then Q, R are the normal quotient and remainder from a truncating
-   --  division. If Round is True, then Q is the rounded quotient. The
-   --  remainder R is not affected by the setting of the Round flag. The
-   --  result is known to be in range except for the noted possibility of
-   --  Y or Z being zero, so no other overflow checks are required.
+   --  the remainder in R. Constraint_Error is raised if Y or Z is zero,
+   --  or if the quotient does not fit in 64-bits. Round indicates if the
+   --  result should be rounded. If Round is False, then Q, R are the normal
+   --  quotient and remainder from a truncating division. If Round is True,
+   --  then Q is the rounded quotient. The remainder R is not affected by the
+   --  setting of the Round flag.
 
 end System.Arith_64;