Update math.nim
This commit is contained in:
parent
f9a659f7ab
commit
39fd0e801d
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ when not defined(JS):
|
|||
## .. code-block:: nim
|
||||
## echo ceil(-2.1) ## -2.0
|
||||
|
||||
when defined(windows):
|
||||
when defined(windows) and defined(vcc):
|
||||
proc round0[T: float32|float64](x: T): T =
|
||||
## Windows compilers prior to MSVC 2012 do not implement 'round',
|
||||
## 'roundl' or 'roundf'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue