diff options
author | AdrianV <adrian@veith-system.de> | 2016-12-28 17:34:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-28 17:34:14 +0100 |
commit | 8a487d32232bfa48da84b1c59c9618511b5721e7 (patch) | |
tree | 723b29522ba882cffd193f7375ae4fde9aebfa31 /lib/pure | |
parent | b42b467b777e2c1cd4ecabbaac19ed98d91fbe00 (diff) | |
download | Nim-8a487d32232bfa48da84b1c59c9618511b5721e7.tar.gz |
bcc misses the same functions like vcc
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/math.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim index 4ef169b4f..a8432b6f0 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -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 = |