Motorola DSP96002 User Manual page 668

32-bit digital signal processor
Table of Contents

Advertisement

B.3.6 Finite(x)
Finite(x) returns the value TRUE if -inf<x<+inf, and returns FALSE otherwise. This is an arithmetic function.
ftst
inc
B.3.7 Isnan(x)
Isnan(x) returns the value TRUE if x is a NaN, and returns FALSE otherwise. This is an arithmetic function.
ftst
inc
B.3.8 x<>y
x<>y is TRUE only when x<y or x>y, and is distinct from x=/=y which means NOT(x=y). This is an arithmetic
function.
fcmp
inc
MOTOROLA
d1=Finite(d0)
d0
#0,d1.l
d1
ffinf
d1=Isnan(d0)
d0
#0,d1.l
d1
ffun
d2=d0<>d1
d0,d1
#0,d2.l
d2
ffgl
DSP96002 USER'S MANUAL
;set ccr bits
;set true if infinite
;set ccr bits
;set true if NaN
;set ccr bits
;set true if GL
Program ICycles
Words
2
2
1
1
---
---
Totals:
3
3
Program ICycles
Words
2
2
1
1
---
---
Totals:
3
3
Program ICycles
Words
2
2
1
1
---
---
Totals:
3
3
B-149

Advertisement

Table of Contents
loading

Table of Contents