Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1 @@
function Multiply (A, B : Float) return Float;

View file

@ -0,0 +1,4 @@
function Multiply (A, B : Float) return Float is
begin
return A * B;
end Multiply;

View file

@ -0,0 +1 @@
function Multiply(A, B: Float) return Float is (A * B);

View file

@ -0,0 +1,3 @@
generic
type Number is digits <>;
function Multiply (A, B : Number) return Number;

View file

@ -0,0 +1,4 @@
function Multiply (A, B : Number) return Number is
begin
return A * B;
end Multiply;

View file

@ -0,0 +1,7 @@
with Multiply;
...
function Multiply_Integer is new Multiply(Number => Integer);
use Multiply_Integer; -- If you must
type My_Integer is Range -100..100;
function Multiply_My_Integer is new Multiply(My_Integer);