Mercurial > hg > index.cgi
view docs/readme-4.0.txt @ 505:59b8c8b15bd4
Add integer shifts and fix code template errors for mul/div/mod
One needs to remove stuff from the stack after putting it there. Actually do
that in the code output for multiplication, division, and modulus.
Add integer shifting code output which is optimized for constant shift
counts but calls a routine for non-constant shift counts. Shifting by a
negative amount is a no-op. Shifting by more than the size of an integer
results in 0 (for left shifts) or -1 (for right shifts). Both negative shift
counts and shift counts larger than the base type are undefined in the C
standard so this behaviour is allowed.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sat, 26 Oct 2019 22:01:55 -0600 |
parents | 2c24602be78f |
children |
line wrap: on
line source
With LWTOOLS 4.0, a substantial reorganization of the project has occurred. This document serves to explain the reasoning behind the various changes. The most obvious change is that the gnu auto tools have been eliminated. While they proved useful for initial distribution of the software, particularly for construction of the win32 binaries, they have since proved to add an unacceptable level of complexity to every aspect of development from merely tinkering with source files to doing complete releases. Thus, the auto tools have been ditched in favour of specific hand tuned help where required. The other substantial change is that the source code repository has been recreated from scratch. The old repository was full of cruft from various revision control systems that were used over the years (CVS, Subversion, and Mercurial). It was felt that starting a new Mercurial repository with a completely clean slate would simplify matters substantially. Thus, the old repository now serves as an archive.