Project

General

Profile

Actions

$isbit » History » Revision 3

« Previous | Revision 3/4 (diff) | Next »
Per Amundsen, 09/09/2020 10:03 AM


Added in 1.9.0

$isbit(A,N)

Returns 1 if the Nth bit in number A is turned on.

Supports Big Integers

Parameters

A - The value to check.
N - The bit to check.

Updated by Per Amundsen about 4 years ago · 3 revisions

Also available in: PDF HTML TXT