DCT_and
| Directory | DOS Name | Type |
| DataFnc |
dct_and |
m-function |
Purpose
Logical AND function
Calling Sequence
y = DCT_and(x, w) or y = DCT_and(x, w, Nbyte)
INPUTS
|
Input |
Description |
|
x
|
first datum
|
|
w
|
second datum
|
Optional INPUTS
|
Input |
Description |
Default Value |
|
Nbyte
|
if Nbyte == 0 then logical on word
if Nbyte > 0, then result is obtained bit wise on the Nbyte bits
|
0
|
OUTPUTS
|
Output |
Description |
|
y
|
result
|
Notes
In the first case, y is 1 where x and w are
not equal to 0, 0 elsewhere
In the second case, y is equal to the
AND of least significant Nbyte bits of x and w
DigComT Licensee: Chris Heegard
Native Intelligence
Last modified: Tuesday, January 11, 2000
Date created: Tuesday, January 11, 2000
Copyright © 1997-2000, Native Intelligence, All rights reserved.