mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-17 00:24:16 +00:00
bcc misses the same functions like vcc
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user