Hot answers tagged arithmetic
You can input numbers in any base up to 36 using the notation base^^digits. Digits over 9 are represented using a, b, c, ... You can print numbers in any base up to 36 using BaseForm. Thus, In:= a=2^^0.10101 Out= 0.65625 In:= BaseForm[a^2,2] Out//BaseForm= Subscript[0.0110111001, 2] Note that the internal representation of numbers doesn't ...
You can enter a number in an arbitrary base using base^^digits: alpha = 2^^0.10101; BaseForm[alpha, 2] BaseForm[alpha^2, 2]
Only top voted, non community-wiki answers of a minimum length are eligible