Exponentiation operator: Difference between revisions

Line 704:
<lang PL/I>
declare exp generic
(iexp when (fixed binary, fixed binary),
fexp when (float, fixed) binary);
iexp: procedure (m, n) returns (fixed binary (31));
declare (m, n) fixed binary (31) nonassignable;
Line 716:
return (exp);
end iexp;
fexp: procedure (a, n) returns (float (15));
declare (a float, n fixed binary (31)) nonassignable;
declare exp float initial (a), i fixed binary;
Line 725:
end;
return (exp);
end fexp;</lang>
</lang>
 
=={{header|PowerShell}}==
Anonymous user