diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-08-28 16:34:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-28 16:34:27 -0700 |
commit | 014edde36a2f61b0a232ceb4800681a2ce261759 (patch) | |
tree | 60475d834b4988bb53a2662fc6e6c82057f7a79b /compiler/vmops.nim | |
parent | 719718df2f98f2bd9aa4286ff8aeac3f02e4d46c (diff) | |
download | Nim-014edde36a2f61b0a232ceb4800681a2ce261759.tar.gz |
followup #18759: make compiler build cleanly with 0 warnings/hints (#18764)
Diffstat (limited to 'compiler/vmops.nim')
-rw-r--r-- | compiler/vmops.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler/vmops.nim b/compiler/vmops.nim index 08225b065..e287dd41d 100644 --- a/compiler/vmops.nim +++ b/compiler/vmops.nim @@ -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 |