This commit is contained in:
parent
719718df2f
commit
014edde36a
2 changed files with 4 additions and 4 deletions
|
|
@ -10,8 +10,6 @@
|
||||||
# this module does the semantic checking of type declarations
|
# this module does the semantic checking of type declarations
|
||||||
# included from sem.nim
|
# included from sem.nim
|
||||||
|
|
||||||
import math
|
|
||||||
|
|
||||||
const
|
const
|
||||||
errStringOrIdentNodeExpected = "string or ident node expected"
|
errStringOrIdentNodeExpected = "string or ident node expected"
|
||||||
errStringLiteralExpected = "string literal expected"
|
errStringLiteralExpected = "string literal expected"
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,12 @@ from std/math import sqrt, ln, log10, log2, exp, round, arccos, arcsin,
|
||||||
lgamma
|
lgamma
|
||||||
|
|
||||||
when declared(math.copySign):
|
when declared(math.copySign):
|
||||||
from std/math import copySign
|
# pending bug #18762, avoid renaming math
|
||||||
|
from std/math as math2 import copySign
|
||||||
|
|
||||||
when declared(math.signbit):
|
when declared(math.signbit):
|
||||||
from std/math import signbit
|
# ditto
|
||||||
|
from std/math as math3 import signbit
|
||||||
|
|
||||||
from std/os import getEnv, existsEnv, delEnv, putEnv, dirExists, fileExists, walkDir,
|
from std/os import getEnv, existsEnv, delEnv, putEnv, dirExists, fileExists, walkDir,
|
||||||
getAppFilename, raiseOSError, osLastError
|
getAppFilename, raiseOSError, osLastError
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue