--  A static integer converted to a real type is that real: the quotient below is 3.5, as
--  the prover and the generated code both see it.
with Ada.Text_IO;
procedure Main is
   A : constant Integer := 7;
   X : constant Long_Float := Long_Float (A) / Long_Float (2);
   Y : constant Float := Float (A) / 2.0;
begin
   pragma Assert (X = 3.5 and Y = 3.5);
   Ada.Text_IO.Put_Line (Long_Float'Image (X));
   Ada.Text_IO.Put_Line (Float'Image (Y));
end Main;
