Merge pull request #5159 from AdrianV/patch-5
bcc misses the same functions like vcc
This commit is contained in:
commit
0f10713c34
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ when not defined(JS):
|
||||||
## .. code-block:: nim
|
## .. code-block:: nim
|
||||||
## echo ceil(-2.1) ## -2.0
|
## 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
|
# MSVC 2010 don't have trunc/truncf
|
||||||
# this implementation was inspired by Go-lang Math.Trunc
|
# this implementation was inspired by Go-lang Math.Trunc
|
||||||
proc truncImpl(f: float64): float64 =
|
proc truncImpl(f: float64): float64 =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue