MOTOROLA
DSP96002 USER’S MANUAL
B-147
move #ninf,d0.s ;set -infinity result 2 2
ori #2,er ;set DZ in ER 1 1
ori #2,ier ;set DZ in IER 1 1
jmp _done ;done 2 2
_notzero
getexp d1,d0 #-126,d3.l ;get exponent 2 2
cmp d3,d0 ;cmp to SP exp min 1 1
tfr d3,d0 iflt ;limit if denorm 1 1
float.s d0 ;convert to SP FP 1 1
_done --- ---
Totals: 18 *
Execution Time:
Nan 4
Infinity 7
Zero 16
In-range 15
B.3.5 Nextafter(x,y)
Nextafter(x,y) returns the next representable neighbor of x in the direction toward y. The following special
cases arise: if x=y, then the result is x without any exception being signaled; otherwise, if either x or y is a
quiet NaN, then the result is one or the other input NaNs. Overflow is signaled when x is finite but nex-
tafter(x,y) is infinite; underflow is signaled when nextafter(x,y) lies strictly between +/-2**(Emin); in both
cases, inexact is signaled.
The x argument of the nextafter(x,y) must be a single precision number and not a single-extended number.
This is an arithmetic function.
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......