bcc misses the same functions like vcc

This commit is contained in:
AdrianV
2016-12-28 17:34:14 +01:00
committed by GitHub
parent b42b467b77
commit 8a487d3223

View File

@@ -213,7 +213,7 @@ when not defined(JS):
## .. code-block:: nim
## echo ceil(-2.1) ## -2.0
when defined(windows) and defined(vcc):
when defined(windows) and (defined(vcc) or defined(bcc)):
# MSVC 2010 don't have trunc/truncf
# this implementation was inspired by Go-lang Math.Trunc
proc truncImpl(f: float64): float64 =