Skip to content

NegativeRadix ​

The old spelling of NegativeNumerals, kept working: NegativeRadix(b) evaluates to its canonical form.

NegativeRadix(b)same as NegativeNumerals(b)
Typed signatures
TypePackageApplies
(integer) -> valuenumeralsalways

Domain: Numeral systems

Examples

Basic #

Evaluates to NegativeNumerals

live ↗
InNegativeRadix(2)\mathrm{NegativeRadix}(2)OutNegativeNumerals(2)\mathrm{NegativeNumerals}(2)

10=16−8+4−210 = 16 - 8 + 4 - 2

live ↗
InIntegerDigits(10,NegativeRadix(2))\mathrm{IntegerDigits}(10, \mathrm{NegativeRadix}(2))Out[1,1,1,1,0]\bigl\lbrack1, 1, 1, 1, 0\bigr\rbrack
About
Examples2

See also: NegativeNumerals