4 ms·
Binary also has mathematical advantages over ternary, for instance 2 is the smallest integer greater than 1 (no shit) so powers of 2 are as close together as yo
by mantap 7y ago
Binary also has mathematical advantages over ternary, for instance 2 is the smallest integer greater than 1 (no shit) so powers of 2 are as close together as you can get in the integers.
Bitwise operations correspond to the finite field GF(2), while there is a GF(3) it's not nearly as interesting or useful.
- afiori 7y agoBinary has advantages on a discrete/logical sense (namely bitwise operation). Balanced ternary (just ternary no) has the advantage that the sign is trivially included in the number, so there is no consideration of (1/2 complement or signed/unsigned extension) This is partially a lie, as balanced ternary can be read as normal ternary giving only non-negative integers... Still it is a more natural encoding of arithmetic
- lonelappde 7y ago> powers of 2 are as close together as you can get in the integers. Why is that useful? > not nearly as interesting or useful. Why it that important in computing?