diff options
author | cooldome <cdome@bk.ru> | 2018-08-22 12:16:18 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-08-22 12:16:18 +0200 |
commit | d0f4a929e096a4924b6af8be702313cc5a5a9f5b (patch) | |
tree | cda635fce781ad3d7b9e19b13e95bb0483649d6a /lib/pure | |
parent | a87341775aa424f252e9e17d58119b0758b58693 (diff) | |
download | Nim-d0f4a929e096a4924b6af8be702313cc5a5a9f5b.tar.gz |
fixes 8594 (#8721)
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/math.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim index 79f287651..bc804eb86 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -265,7 +265,7 @@ proc arcsech*[T: float32|float64](x: T): T = arccosh(1.0 / x) proc arccsch*[T: float32|float64](x: T): T = arcsinh(1.0 / x) ## Computes the inverse hyperbolic cosecant of `x` -const windowsCC89 = defined(windows) and (defined(vcc) or defined(bcc)) +const windowsCC89 = defined(windows) and defined(bcc) when not defined(JS): # C proc hypot*(x, y: float32): float32 {.importc: "hypotf", header: "<math.h>".} |