Motorola DSP96002 User Manual page 669

32-bit digital signal processor
Table of Contents

Advertisement

When comparing two values, GL is true if the values are not equal and both values being compared are
valid floating-point numbers. The GL condition is false if either number is a NaN even though the values
are not equal.
B.3.9 Unordered(x,y) or x?y
Unordered(x,y), or x?y, returns the value TRUE if x is unordered with y, and returns FALSE otherwise. This
is an arithmetic function.
fcmp
inc
B.3.10Class(x)
Class(x) tells which of the following ten classes x falls into:
1.
signaling NaN
2.
quiet NaN
3.
-infinity
4.
negative normalized nonzero
5.
negative denormalized
6.
-0
7.
+0
8.
positive denormalized
9.
positive normalized nonzero
10.
+infinity
Class(x) function applies to single precision floating-point numbers.
B-150
d2=d0?d1
d0,d1
#0,d2.l
d2
ffun
DSP96002 USER'S MANUAL
;set ccr bits
;set true if unordered
Totals:
Program ICycles
Words
2
2
1
1
---
---
3
3
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents