From 39fd0e801d6e57dc906e178a2b23408abc3706f6 Mon Sep 17 00:00:00 2001 From: matkuki Date: Sat, 18 Jun 2016 12:26:21 +0200 Subject: [PATCH] Update math.nim --- lib/pure/math.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/math.nim b/lib/pure/math.nim index f31ad5db4f..b4abf4dc8f 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -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'.