Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
postpone division and multiplication proofs
Browse files Browse the repository at this point in the history
ref #47 #50
  • Loading branch information
jklmnn committed Jul 18, 2019
1 parent ad9d601 commit fa5df9d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/minimal/s-arit64.adb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ is
procedure Double_Divide
(X, Y, Z : Int64;
Q, R : out Int64;
Round : Boolean)
Round : Boolean) with
SPARK_Mode => Off
-- TODO: https://github.com/Componolit/ada-runtime/issues/50
is
Xu : constant Uns64 := abs X;
Yu : constant Uns64 := abs Y;
Expand Down Expand Up @@ -305,7 +307,10 @@ is
-- Multiply_With_Ovflo_Check --
-------------------------------

function Multiply_With_Ovflo_Check (X, Y : Int64) return Int64 is
function Multiply_With_Ovflo_Check (X, Y : Int64) return Int64 with
SPARK_Mode => Off
-- TODO: https://github.com/Componolit/ada-runtime/issues/50
is
Xu : constant Uns64 := abs X;
Xhi : constant Uns32 := Hi (Xu);
Xlo : constant Uns32 := Lo (Xu);
Expand Down Expand Up @@ -376,7 +381,9 @@ is
procedure Scaled_Divide
(X, Y, Z : Int64;
Q, R : out Int64;
Round : Boolean)
Round : Boolean) with
SPARK_Mode => Off
-- TODO: https://github.com/Componolit/ada-runtime/issues/50
is
Xu : constant Uns64 := abs X;
Xhi : constant Uns32 := Hi (Xu);
Expand Down

0 comments on commit fa5df9d

Please sign in to comment.