Fix tmath tests

Modify tmath.nim to have one skip symbol

Fix macro expansion with common value

Fix tmath again
This commit is contained in:
Joey Yakimowich-Payne 2020-04-23 16:53:52 -06:00
commit 9e799ee3b1
3 changed files with 20 additions and 18 deletions

View file

@ -14,9 +14,11 @@ when defined(windows):
static:
when (NimMajor, NimMinor, NimPatch) < (1, 0, 0):
cSkipSymbol @["mingw_choose_expr", "EXCEPTION_DEFINED", "COMPLEX_DEFINED", "matherr", "HUGE", "FP_ILOGB0", "FP_ILOGBNAN"]
# FP_ILOGB0 and FP_ILOGBNAN are casts that are unsupported
# on lower Nim VMs
cSkipSymbol @["math_errhandling", "FP_ILOGB0", "FP_ILOGBNAN"]
else:
cSkipSymbol @["mingw_choose_expr", "EXCEPTION_DEFINED", "COMPLEX_DEFINED", "matherr", "HUGE"]
cSkipSymbol @["math_errhandling"]
cDebug()
cDisableCaching()
cAddStdDir()