Detect colour of pixel (Release Announcements)

by Jim ⌂ @, Russell, KY, Wednesday, August 13, 2014, 17:58 (990 days ago) @ Ken Holmes

This one was a bug in the BISON/YACC script during parse of an integer.

If an integer was larger or smaller than 2147483647 and -2147483648 it would not be treated as a float as it should. The regular expression was not as complex as needed. In versions 1.1.3.0 and before the following is observed and is WRONG...

print 99999999999
print -99999999999
print
print 2147483646
print 2147483647
print 2147483648
print 2147483649
print 2147483650
print
print -2147483646
print -2147483647
print -2147483648
print -2147483649
print -2147483650

displays IN ERROR

1215752191
-1215752191

2147483646
2147483647
-2147483648
-2147483647
-2147483646

-2147483646
-2147483647
2147483648
2147483647
2147483646

This behavior is being fixed in 1.1.3.1, will be added to the test suite, and will be corrected in the next binary release.

Jim


Complete thread:

 RSS Feed of thread

powered by my little forum