mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-17 13:02:47 +00:00
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
# this module does the semantic checking of type declarations
|
||||
# included from sem.nim
|
||||
|
||||
import math
|
||||
|
||||
const
|
||||
errStringOrIdentNodeExpected = "string or ident node expected"
|
||||
errStringLiteralExpected = "string literal expected"
|
||||
|
||||
@@ -15,10 +15,12 @@ from std/math import sqrt, ln, log10, log2, exp, round, arccos, arcsin,
|
||||
lgamma
|
||||
|
||||
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):
|
||||
from std/math import signbit
|
||||
# ditto
|
||||
from std/math as math3 import signbit
|
||||
|
||||
from std/os import getEnv, existsEnv, delEnv, putEnv, dirExists, fileExists, walkDir,
|
||||
getAppFilename, raiseOSError, osLastError
|
||||
|
||||
Reference in New Issue
Block a user