blob: e8423c21e4e64e88501f21651ddc4dc2d8af2815 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#! /usr/bin/bc -q
for (b = 2; b <= 16; ++b) {
if (b == 10) continue
s = b * b
print "obase = ", b, "\n"
for (i = 0; i <= s; ++i) {
i
print "0.", i, "\n"
print "1.", i, "\n"
print i, ".", i, "\n"
}
2189432174861923048671023498128347619023487610234689172304.192748960128745108927461089237469018723460
}
halt
|