xcalc: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jun 1 23:52:50 UTC 2019
actions.c | 98 +++++++++++++++++++++++++
app-defaults/XCalc | 200 ++++++++++++++++++++++++++++++++++++++---------------
math.c | 185 +++++++++++++++++++++++++++++++++++++++----------
xcalc.c | 19 ++++-
xcalc.h | 19 +++++
5 files changed, 426 insertions(+), 95 deletions(-)
New commits:
commit c4f1bdb16b560d813e6ded83c2d7a4f4d280a90a
Author: Tim Hentenaar <tim at hentenaar.com>
Date: Sat Mar 22 02:47:33 2014 +0100
Add bitwise ops and base conversion (DEC/OCT/HEX) in TI mode
These operations implicitly truncate their parameters, and result to
integers:
* not
* and
* or
* xor
* shl
* shr
* mod
* trunc
Base 2 was left out of the base conversion code intentionally as it
would require making the UI at least one third wider.
Attempts to change base with negative values will simply display
"error." Note that with larger numbers, the result may be inaccurate
due to rounding.
I've also bound the Return key to the equal() action.
Signed-off-by: Tim Hentenaar <tim at hentenaar.com>
More information about the xorg-commit
mailing list