6 procedure Add_Mul
(X
: in out Unit
; Y
, Z
: in Unit
) is
10 pragma Inline_Always
(Add_Mul
);
14 First_Index
: in Natural;
15 Last_Index
: in Natural;
19 Result
:= (others => 0.0);
21 for I
in First_Index
+ 1 .. Last_Index
loop
23 Local
: Rec
renames F
(I
);
25 Add_Mul
(Result
, Local
.Val
, Local
.Val
);