Anonymous user
Imaginary base numbers: Difference between revisions
Fix links
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Expand on precision and rounding parameters) |
(Fix links) |
||
Line 1:
{{draft task}}
Imaginary base numbers are a non-standard positional numeral system which uses an imaginary number as its radix. The most common is quater-imaginary with radix 2i. The quater-imaginary numeral system was first proposed by [https://en.wikipedia.org/wiki/Donald_Knuth
Other imaginary bases are possible too but are not as widely discussed and aren't named.
Line 7:
'''Task:''' Write a set of procedures (functions, subroutines, however they are referred to in your language) to convert base 10 numbers to imaginary and back. At a minimum, support quater-imaginary (base 2i).
See [https://en.wikipedia.org/wiki/Quater-imaginary_base
For reference, here are some some decimal and complex numbers converted to quater-imaginary.
|