As of 2007-09-26 00:00:00 GMT, this project is no longer under active development.
GNAW is a command-line calculator. It is lightweight but yet powerful. It features advanced arithmetics, user-defined variables and a fully nestable syntax among other things.
Be the first to post a text review of GNAW - Command-line Calculator. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Changelog GNAW 1.2 ---------------- * New operations: * floor(x): x rounded down to nearest integer . * ceil(x): The smallest integer that is greater or equal to x. * New function, is(): is() evaluates a statement and prints `true' if true and `false' if false If the `-q' option is used is() prints `1' or `0' instead. Usage: is(x=y) is(x<y) is(x>y) Where x and y are any valid expressions according to the syntax. * New option, -p: The `-p' parameter option can change the number of significant digits to display in the answer. The range is 1 to 15, 10 is the default value. Ex. $ gnaw -p 5 "pi" ans = 3.1416 * Automatic insertion of `ans' in the input if the first key pressed is +, * or /. Ex. +5/7.2 -> ans+5/7.2 * Some minor fixes. * There is no MS Windows-version of GNAW 1.2. If there is demand for it I may create one. GNAW 1.1 ---------------- * GNAW 1.1 use the GNU Readline Library and the GNU History Library. This introduces some nice features such as: * Input editing using the left-arrow, right-arrow, backspace and delete keys. * Input history which can be browsed with the up-arrow and down-arrow keys. * Signal handler to handle SIGINTs more gracefully. * New command `list' that lists all defined variables and their values. * Start options including: -h: Display the help dialog and exit. -d: Use degrees instead of the default radians. -w: Don't write anything to disc (disables saving of variables). -V: Print version information and exit. -L: Print license information and exit. -q: Quiet, output only answer. * Possibility to give an expression when starting that GNAW evaluates before exiting. Ex. `gnaw -d "sin(35.2)^3"' GNAW 1.0 ---------------- * Added some #include's for compiler compability * Changed the path to where the GNAW variable file is stored. It is now stored in ~/.gnawrc in the *NIX version and in X:\Documents and Settings\username\gnawrc in the Windows version. * Some minor fixes
* New operations: * floor(x): x rounded down to nearest integer . * ceil(x): The smallest integer that is greater or equal to x. * New function, is(): is() evaluates a statement and prints `true' if true and `false' if false If the `-q' option is used is() prints `1' or `0' instead. Usage: is(x=y) is(x<y) is(x>y) Where x and y are any valid expressions according to the syntax. * New option, -p: The `-p' parameter option can change the number of significant digits to display in the answer. The range is 1 to 15, 10 is the default value. Ex. $ gnaw -p 5 "pi" ans = 3.1416 * Automatic insertion of `ans' in the input if the first key pressed is +, * or /. Ex. +5/7.2 -> ans+5/7.2 * Some minor fixes. * There is no MS Windows-version of GNAW 1.2. If there is demand for it I may create one.
Changelog GNAW 1.1 ---------------- * GNAW 1.1 use the GNU Readline Library and the GNU History Library. This introduces some nice features such as: * Input editing using the left-arrow, right-arrow, backspace and delete keys. * Input history which can be browsed with the up-arrow and down-arrow keys. * Signal handler to handle SIGINTs more gracefully. * New command `list' that lists all defined variables and their values. * Start options including: -h: display the help dialog and exit -d: use degrees instead of the default radians -w: don't write anything to disc (disables saving of variables) -V: print version information and exit -L: print license information and exit -q: quiet, output only answer * Possibility to give an expression when starting that GNAW evaluates before exiting. Ex. `gnaw -d "sin(35.2)^3"' GNAW 1.0 ---------------- * Added some #include's for compiler compability * Changed the path to where the GNAW variable file is stored. It is now stored in ~/.gnawrc in the *NIX version and in X:\Documents and Settings\username\gnawrc in the Windows version. * Some minor fixes
Changelog GNAW 1.1 ---------------- * GNAW 1.1 use the GNU Readline Library and the GNU History Library. This introduces some nice features such as: * Input editing using the left-arrow, right-arrow, backspace and delete keys. * Input history which can be browsed with the up-arrow and down-arrow keys. * Signal handler to handle SIGINTs more gracefully. * New command `list' that lists all defined variables and their values. * Start options including: -h: display the help dialog and exit -d: use degrees instead of the default radians -w: don't write anything to disc (disables saving of variables) -V: print version information and exit -L: print license information and exit -q: quiet, output only answer * Possibility to give an expression when starting that GNAW evaluates before exiting. Ex. `gnaw -d "sin(35.2)^3"' GNAW 1.0 ---------------- * Added some #include's for compiler compability * Changed the path to where the GNAW variable file is stored. It is now stored in ~/.gnawrc in the *NIX version and in X:\Documents and Settings\username\gnawrc in the Windows version. * Some minor fixes
Changelog GNAW 1.1 ---------------- * GNAW 1.1 use the GNU Readline Library and the GNU History Library. This introduces some nice features such as: * Input editing using the left-arrow, right-arrow, backspace and delete keys. * Input history which can be browsed with the up-arrow and down-arrow keys. * Signal handler to handle SIGINTs more gracefully. * New command `list' that lists all defined variables and their values. * Start options including: -h: display the help dialog and exit -d: use degrees instead of the default radians -w: don't write anything to disc (disables saving of variables) -V: print version information and exit -L: print license information and exit -q: quiet, output only answer * Possibility to give an expression when starting that GNAW evaluates before exiting. Ex. `gnaw -d "sin(35.2)^3"' GNAW 1.0 ---------------- * Added some #include's for compiler compability * Changed the path to where the GNAW variable file is stored. It is now stored in ~/.gnawrc in the *NIX version and in X:\Documents and Settings\username\gnawrc in the Windows version. * Some minor fixes
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?