Ошибочная проверка диапазона
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cc2regex |
Fix Committed
|
High
|
Unassigned |
Bug Description
В гигантских диапазонах (>14 цифр) новые элементы добавляются неверно:
123456789012345 - 901234567812346
#######
#######
Используем диапазон 123456789012345 - 901234567812346, степень = 1, порядок = 10
КРОТ: 7
ТИП КРОТА: integer
BC-КРОТ: 5
ТИП BC-КРОТА: string
Найденный ЭЛЕМЕНТ: 1.2345678901235E+14 ТИП:string
Новый элемент добавлен: 1.2345678901235E+14
Новый текущий элемент: index: 2, value: 1.2345678901235E+14
Дальнейшая обработка таких элементов бессмысленна.
Исправлено в ревизии 22: http:// bazaar. launchpad. net/~rudenko/ cc2regex/ trunk/revision/ 22