From 8a487d32232bfa48da84b1c59c9618511b5721e7 Mon Sep 17 00:00:00 2001 From: AdrianV Date: Wed, 28 Dec 2016 17:34:14 +0100 Subject: [PATCH] bcc misses the same functions like vcc --- 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 4ef169b4f8..a8432b6f0f 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 =