Mirror of
forum.nim-lang.org
index
171 :: Biggest value of T
[2013-06-27T18:29:08+02:00]
View Orginal
ventor3000
(orginal)
[2013-06-27T18:29:08+02:00]
view original
How do I find the maximum value of a float? high(float) wont work, since high(T) is only for ordinal values...
Araq
(orginal)
[2013-06-27T22:56:29+02:00]
view original
I don't know. Infinity? ;-) You need to define these constants on your own for now.
http://en.wikipedia.org/wiki/Double-precision_floating-point_format