base2dec does not detect invalid numbers
@mottelet)
Reported by Stéphane MOTTELET (BUG DESCRIPTION:
----------------
base2dec does not detect invalid numbers
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
--> base2dec("3",2) // should trigger the same error as below
ans =
3.
--> base2dec("A",2)
base2dec: Wrong value for input argument #1: Valid base 2 representations expected.
OTHER INFORMATION:
------------------