logbit?

Tests the value of a particular bit in its argument.  Returns true if the index’th bit in integer is a one-bit; otherwise it returns false.

Negative integers are treated as if they were in two’s-complement notation.

Exported from

Modifiers

sealed

Arguments

indexAn instance of <integer>.
integerAn instance of <general-integer>.

Values

booleanAn instance of <boolean>.
The common-dylan module.
Whenever possible, we have tried to keep the Dylan module pristine and unextended, preferring to add our extensions to separate modules or libraries.
The class of integers.
Parent class of all integers.
The class of boolean values.