summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2014-11-03 01:58:50 +0100
committerAndreas Rumpf <rumpf_a@web.de>2014-11-03 01:58:50 +0100
commita0ecfd19be45f0f3901a4db36ae010f4dc225197 (patch)
tree419b092bd4a26aa6f6ebe0b62222c983225f668b /lib/pure
parente7edd9e64e6501f318ed5ad76604e6252b1d5ac3 (diff)
parenta019825d8fa1dc03fa9828263cbaa7495fef1114 (diff)
downloadNim-a0ecfd19be45f0f3901a4db36ae010f4dc225197.tar.gz
Merge pull request #1448 from def-/posix-math
Add -lm for fesetround and fegetround
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/math.nim11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim
index 8af09114b..97c7b0e05 100644
--- a/lib/pure/math.nim
+++ b/lib/pure/math.nim
@@ -40,17 +40,6 @@ const
                                            ## after the decimal point 
                                            ## for Nimrod's ``float`` type.
 
-type
-  TFloatClass* = enum ## describes the class a floating point value belongs to.
-                      ## This is the type that is returned by `classify`.
-    fcNormal,    ## value is an ordinary nonzero floating point value
-    fcSubnormal, ## value is a subnormal (a very small) floating point value
-    fcZero,      ## value is zero
-    fcNegZero,   ## value is the negative zero
-    fcNan,       ## value is Not-A-Number (NAN)
-    fcInf,       ## value is positive infinity
-    fcNegInf     ## value is negative infinity
-
 proc classify*(x: float): TFloatClass = 
   ## classifies a floating point value. Returns `x`'s class as specified by
   ## `TFloatClass`.