blob: 67ab9f75536bc6ac405cf59a2bdcc3e54769ef48 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /usr/bin/python3
from math import sqrt
table_size = 65536
line_spacing = 20
print("float sldjSqrtTable[%d] = {" % table_size)
for c in range(table_size):
print(f"{sqrt(c)},", end="")
if c % line_spacing == 0:
print()
print("};")
|