Ошибочная проверка диапазона

Bug #999208 reported by Alexander Rudenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cc2regex
Fix Committed
High
Unassigned

Bug Description

В гигантских диапазонах (>14 цифр) новые элементы добавляются неверно:
123456789012345 - 901234567812346

################################################################################################## USE index: 0, value: 123456789012345
################################################# Степень числа 123456789012345: 14
Используем диапазон 123456789012345 - 901234567812346, степень = 1, порядок = 10
КРОТ: 7
ТИП КРОТА: integer
BC-КРОТ: 5
ТИП BC-КРОТА: string
Найденный ЭЛЕМЕНТ: 1.2345678901235E+14 ТИП:string
Новый элемент добавлен: 1.2345678901235E+14
Новый текущий элемент: index: 2, value: 1.2345678901235E+14

Дальнейшая обработка таких элементов бессмысленна.

Revision history for this message
Alexander Rudenko (rudenko) wrote :

Исправлено в ревизии 22: http://bazaar.launchpad.net/~rudenko/cc2regex/trunk/revision/22

Changed in cc2regex:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.