I'm not sure if Double.MAX-VALUE * -1 is appropriate. We might consider using Double.POSITIVE_INFINITY and Double.NEGATIVE_INFINITY instead.
-- Adam On 5/16/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
they question is also should the range not be the following: (for double) Form Double.MAX_VALUE * -1 to Double.MAX_VALUE I just saw... that Double.MIN_VALUE isn't the lowest possible double :-) It is the smallest possible POSITIVE double, before it becomes 0.0 -Matthias On 5/16/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi, > > for some reasons, the Long/Double RangeValidtor "renders" for the > MIN_VALUE / MAX_VALUE null. > > I'd like to change that. > So for instance: > Double.MIN_VALUE would "render" as 4.9e-324 > > A check in JAVASCRIPT told me, that 4.9e-324 == Number.MIN_VALUE > > Do you agree ? > > -Matthias > > -- > Matthias Wessendorf > http://tinyurl.com/fmywh > > further stuff: > blog: http://jroller.com/page/mwessendorf > mail: mwessendorf-at-gmail-dot-com > -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com
