Atom - B - Integer To Binary

Characters: B

Tags: math , number , array , vectorize , base

Arity: monadic

This atom is monadic, which means it takes one argument.

Functionality

Converts an integer to its binary representation (list of digits).

Details

For floating-point numbers, this atom adds the floating part to the last digit.

Synonyms

This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):