diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-12-29 11:27:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-29 11:27:01 +0100 |
commit | 0f10713c3443de009298215f2d5d832d2dd6f1ea (patch) | |
tree | e955904737aff6f9646c57fc040831e373b5c9ba /lib/pure | |
parent | 49f2341cd73eb2ab067629e39049382da98e5d48 (diff) | |
parent | 8a487d32232bfa48da84b1c59c9618511b5721e7 (diff) | |
download | Nim-0f10713c3443de009298215f2d5d832d2dd6f1ea.tar.gz |
Merge pull request #5159 from AdrianV/patch-5
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 = |