FromDigits¶
Constructs an integer from its digits.
With base 2 (binary):
The digit list is a polynomial in the base, so any base works — base 1 sums the digits and base 0 leaves the last one:
A rational, a real, or a symbol works the same way: