summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2019-02-12 22:00:31 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-02-12 22:00:31 +0100
commit6870345cd2af461d49159ad453c5f6437752d096 (patch)
tree457fd3338c49f6e62320b84e1c7c4551bbf04ebd /lib
parentbdc150adffccd339dd80e837d5d527206f651e88 (diff)
downloadNim-6870345cd2af461d49159ad453c5f6437752d096.tar.gz
32 bit fixes (#10608)
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/math.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim
index 526ddbbb2..f94da043a 100644
--- a/lib/pure/math.nim
+++ b/lib/pure/math.nim
@@ -1185,7 +1185,7 @@ when isMainModule:
     doAssert floorMod(-8.5, 3.0) ==~ 0.5
 
   block: # log
-    doAssert log(4.0, 3.0) == ln(4.0) / ln(3.0)
+    doAssert log(4.0, 3.0) ==~ ln(4.0) / ln(3.0)
     doAssert log2(8.0'f64) == 3.0'f64
     doAssert log2(4.0'f64) == 2.0'f64
     doAssert log2(2.0'f64) == 1.0'f64