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.


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


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


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):