On Wed, Sep 14, 2016 at 2:51 PM, Gibney, Dave <gib...@wsu.edu> wrote:
> Once, in my first months here, a program appeared to be looping, but maybe > not. It was impacting the system, but I insisted it be allowed to run and > it was for a while. > It was a Cobol program. Perform until some COMP field reached zero. The > Cobol of the time did not recognize negative zero (X'80000000') in a COMP > field as zero. > > ​Hum, x'80000000' in 2-complement binary is not -0, it is -2,147,483,648 ​ . ref: https://en.wikipedia.org/wiki/32-bit ​ ​ -- Unix: Some say the learning curve is steep, but you only have to climb it once. -- Karl Lehenbauer Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN