bit_notΒΆ
bit_not performs logical negation on each bit.
- m = bit_not(m)
- m = bit_not(m, cast)
Return Value
m is an integer martrix.
Parameters
- m
m is an integer matrix.
- cast
cast is one of the following values:
CAST_INT8 (0)
CAST_UINT8 (1)
CAST_INT16 (2)
CAST_UINT16 (3)
CAST_INT32 (4)
CAST_UINT32 (5)
CAST_INT64 (6)
CAST_UINT64 (7)
default-Wert.
Comment
UniScript uses double precision floating-point values. When casted to a
CAST_INT64
or CAST_UINT64
only the lower 53 bits
(bit 0 .. bit 52) can be used.
Example
* bit_not(0, CAST_UINT8)
255.0000
History
Version |
Description |
---|---|
R2013.10 |
New. |
See also
Overview Bit Functions, bit_get, bit_set, bit_and, bit_or, bit_xor, bit_lshift, bit_rshift
id-1909256