el_allbits

Determine if constant e is all ones or all zeros.

version(COMPILE)
extern (C++) nothrow @safe
bool
el_allbits
(
const elem* e
,
int bit
)

Parameters

e elem*

elem to test

bit int

0: all zeros 1: 1 -1: all ones

Return Value

Type: bool

* true if it is

Suggestion Box / Bug Report