Commit ID:      100516AAFB97CDEA9BA
CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2013/04/14 13:36:56 UTC

Modified files:
        bin/mksh       : expr.c mksh.1

Log message:
another intermediate step/commit to get arithmetics right:

do the correct operations for comparisons (just keep using the
signed/unsigned switch from bivui for them), division (by working
on absolutes and adding the sign at the end), modulo (stupidly by
divising in signed, multiplying and subtracting, to get the sign
of the result right)

also adds rotation

XXX to check: do we need to AND before assigning the result in division?

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.68 -r1.69 src/bin/mksh/expr.c
cvs -R rdiff -kk -upr1.308 -r1.309 src/bin/mksh/mksh.1

Reply via email to