2022-01-13 20:34:59 +03:00
|
|
|
$ fq -i
|
2022-12-21 15:59:54 +03:00
|
|
|
null> (0,1,1024,99999999999999999999) as $n | (2,8,16,62,64) as $r | "\($r): \($n) \($n | to_radix($r)) \($n | to_radix($r) | from_radix($r))" | println
|
2022-02-10 02:38:40 +03:00
|
|
|
2: 0 0 0
|
|
|
|
8: 0 0 0
|
|
|
|
16: 0 0 0
|
|
|
|
62: 0 0 0
|
|
|
|
64: 0 0 0
|
|
|
|
2: 1 1 1
|
|
|
|
8: 1 1 1
|
|
|
|
16: 1 1 1
|
|
|
|
62: 1 1 1
|
|
|
|
64: 1 1 1
|
|
|
|
2: 1024 10000000000 1024
|
|
|
|
8: 1024 2000 1024
|
|
|
|
16: 1024 400 1024
|
|
|
|
62: 1024 gw 1024
|
|
|
|
64: 1024 g0 1024
|
|
|
|
2: 99999999999999999999 1010110101111000111010111100010110101100011000011111111111111111111 99999999999999999999
|
|
|
|
8: 99999999999999999999 12657072742654303777777 99999999999999999999
|
|
|
|
16: 99999999999999999999 56bc75e2d630fffff 99999999999999999999
|
|
|
|
62: 99999999999999999999 1V973MbJYWoT 99999999999999999999
|
|
|
|
64: 99999999999999999999 1mL7nyRz3___ 99999999999999999999
|
2022-01-13 20:34:59 +03:00
|
|
|
null> ^D
|