Lines Matching +full:x +full:- +full:rp
12 | Input: (Entry points sint and sintrz) Double-extended
13 | number X in the ETEMP space in the floating-point
15 | (Entry point sintdo) Double-extended number X in
17 | (Entry point sintd) Double-extended denormalized
18 | number X in the ETEMP space in the floating-point
21 | Output: The function returns int(X) or intrz(X) in fp0.
27 | 1. If exp(X) >= 63, return X.
28 | If exp(X) < 0, return +/- 0 or +/- 1, according to
31 | 2. (X is in range) set rsc = 63 - exp(X). Unnormalize the
35 | sintrz, force round-to-zero mode.
42 | Sign(X)
43 | RMODE + -
44 | ----- --------
45 | RN +0 -0
46 | RZ +0 -0
47 | RM +0 -1
48 | RP +1 -0
90 beq snzrinx |if round nearest or round zero, +/- 0
101 bsr ld_mone |if round mns inf and neg, answer is -1
158 | Sign is +. If rp, load +1.0, if rm, load +0.0
160 cmpib #3,L_SCR1+3(%a6) |check for rp
161 beqs un_ldpone |if rp, load +1.0
168 | Sign is -. If rm, load -1.0, if rp, load -0.0
172 beqs un_ldmone |if rm, load -1.0
173 bsr ld_mzero |if rp, load -0.0
199 fmovel %fpcr,-(%sp)
202 | ;then return X to the user
209 clrl %d0 |clear d0 - initial g,r,s for
222 | ;input a0 ptr to ext X
240 fmovel %fpcr,-(%sp)