summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-12-26 02:09:15 +0100
committerAraq <rumpf_a@web.de>2014-12-26 02:09:15 +0100
commit338598d9d077f37fd0690768cdaeef803e3d378d (patch)
tree741b98d684b57823a5163df1f3c75c8ba253a36d /lib
parent9280473eb149eba2bd7fda1c3b2925a8ce7831e8 (diff)
downloadNim-338598d9d077f37fd0690768cdaeef803e3d378d.tar.gz
fixes #495
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/complex.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/pure/complex.nim b/lib/pure/complex.nim
index a8709e098..0c5704f69 100644
--- a/lib/pure/complex.nim
+++ b/lib/pure/complex.nim
@@ -19,10 +19,7 @@ import
   math
  
 const
-  EPS = 5.0e-6 ## Epsilon used for float comparisons (should be smaller
-               ## if float is really float64, but w/ the current version
-               ## it seems to be float32?)
-
+  EPS = 1.0e-7 ## Epsilon used for float comparisons.
 
 type
   Complex* = tuple[re, im: float]