Ticket #801 (closed defect: fixed)
Opened 2013-02-15T14:14:08-06:00
Last modified 2013-02-15T14:24:12-06:00
Misinterpretation of Double.MIN_VALUE
Reported by: | aivar | Owned by: | aivar |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | slim-plugin | Severity: | serious |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I was using Double.MIN_VALUE to initialize maximum value variables before checking for the actual maximum. Actually, unlike the other data types, Double and Float MIN_VALUES refer to the smallest positive increment.
Shouldn't really affect anything unless the whole data set consists of negative values.
Change History
comment:1 Changed 2013-02-15T14:24:12-06:00 by aivar
- Status changed from new to closed
- Resolution set to fixed