|
|
1.1 root 1: .pa 1
2: .he 'POW (III)'1/15/73'POW (III)'
3: .ti 0
4: NAME pow -- floating exponentiation x^y
5: .sp
6: .ti 0
7: SYNOPSIS movf x,fr0
8: .br
9: movf y,fr1
10: .br
11: jsr pc,pow
12: .br
13: movf fr0,...
14: .sp
15: .ti 0
16: DESCRIPTION The
17: value of x^y (i.e. x\uy\d) is returned in fr0.
18:
19: 0^x returns zero for all x.
20:
21: (-x)^y returns a result only if y is an integer.
22:
23: .ti 0
24: FILES kept in /lib/liba.a
25: .sp
26: .ti 0
27: SEE ALSO exp(III), log(III)
28: .sp
29: .ti 0
30: DIAGNOSTICS The
31: carry bit is set on return in case of overflow or in case of
32: 0^0 or
33: (-x)^y for y non-integer.
34: .sp
35: .ti 0
36: BUGS --
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.