Re: Extend test and expr to 64 bit integers

2000-06-26 Thread Sheldon Hearn
On Fri, 23 Jun 2000 19:05:14 +0200, Stefan Esser wrote: 1) I choose "quad_t" for long integers. Is this a good choice ? In the kernel I'd use int64_t, but I'm not sure what is most appropriate here. I'd use the new C standard's int64_t, since you're specifically looking for 64-bit

Extend test and expr to 64 bit integers

2000-06-23 Thread Stefan Esser
These simple changes make "test" and "expr" operate on 64 bit integers (tested on i86 only, but I plan to test them on Alpha next week). Motivation: I recently found a third party shell skript, which used "test" to verify the (numeric) match of a checksum. The algorithm worked on unsigned