RosettaCodeData/Task/Gamma-function/Ada/gamma-function-2.adb
2026-04-30 12:34:36 -04:00

9 lines
197 B
Ada

with Ada.Text_IO; use Ada.Text_IO;
with Gamma;
procedure Test_Gamma is
begin
for I in 1..10 loop
Put_Line (Long_Float'Image (Gamma (Long_Float (I) / 3.0)));
end loop;
end Test_Gamma;