Arith HighBit, Arith LowBit

Aus ExpeccoWiki

(Weitergeleitet von Arith highBit)
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

Schema

Arith highBit.png

Arith lowBit.png

Description

HighBit returns the bitNumber (1..) of the highest bit of its integral input value. If no bit is set (an input value of 0), an output value of 0 is generated.

LowBit returns the bitNumber (1..) of the lowest bit of its integral input value. If no bit is set (an input value of 0), an output value of 0 is generated.

Examples

InputHighBitLowBit
000
111
222
433
531
632
731
844
factorial(100)52598

Revisions

These blocks have been added with 1.7.2.



Back to StandardLibrary.
Previous: Arith [ Pi, E ]
Next: Arith [ LeftShift ]

Meine Werkzeuge