|
9 | 9 |
|
10 | 10 | # Unfortunately this cannot be a module yet: |
11 | 11 | #import vmdeps, vm |
12 | | -from math import sqrt, ln, log10, log2, exp, round, arccos, arcsin, |
| 12 | +from std/math import sqrt, ln, log10, log2, exp, round, arccos, arcsin, |
13 | 13 | arctan, arctan2, cos, cosh, hypot, sinh, sin, tan, tanh, pow, trunc, |
14 | 14 | floor, ceil, `mod`, cbrt, arcsinh, arccosh, arctanh, erf, erfc, gamma, |
15 | 15 | lgamma |
16 | 16 |
|
17 | 17 | when declared(math.copySign): |
18 | | - from math import copySign |
| 18 | + from std/math import copySign |
19 | 19 |
|
20 | 20 | when declared(math.signbit): |
21 | | - from math import signbit |
| 21 | + from std/math import signbit |
22 | 22 |
|
23 | | -from os import getEnv, existsEnv, dirExists, fileExists, putEnv, walkDir, |
| 23 | +from std/os import getEnv, existsEnv, dirExists, fileExists, putEnv, walkDir, |
24 | 24 | getAppFilename, raiseOSError, osLastError |
25 | 25 |
|
26 | | -from md5 import getMD5 |
27 | | -from times import cpuTime |
28 | | -from hashes import hash |
29 | | -from osproc import nil |
| 26 | +from std/md5 import getMD5 |
| 27 | +from std/times import cpuTime |
| 28 | +from std/hashes import hash |
| 29 | +from std/osproc import nil |
30 | 30 |
|
31 | 31 | from sighashes import symBodyDigest |
32 | 32 |
|
|
0 commit comments