mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.12.2
This commit is contained in:
@@ -128,9 +128,9 @@ operators
|
||||
^ ** << >>
|
||||
Powers and shifts.
|
||||
The '^' and '**' are both exponentiation, e.g. 2^3
|
||||
returns 8, 2^-3 returns .125. In a ^ b, b has to be
|
||||
an integer and if a is zero, nonnegative. 0^0 returns
|
||||
the value 1.
|
||||
returns 8, 2^-3 returns .125. Note that in a^b, if
|
||||
'a' == 0 and 'b' is real, then is must be >= 0 as well.
|
||||
Also 0^0 and 0**0 return the value 1.
|
||||
|
||||
For the shift operators both arguments are to be
|
||||
integers, or if the first is complex, it is to have
|
||||
@@ -223,10 +223,10 @@ operators
|
||||
## A copy of version 2.1 of the GNU Lesser General Public License is
|
||||
## distributed with calc under the filename COPYING-LGPL. You should have
|
||||
## received a copy with calc; if not, write to Free Software Foundation, Inc.
|
||||
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
##
|
||||
## @(#) $Revision: 29.2 $
|
||||
## @(#) $Id: operator,v 29.2 2000/06/07 14:02:33 chongo Exp $
|
||||
## @(#) $Revision: 30.2 $
|
||||
## @(#) $Id: operator,v 30.2 2007/07/11 23:00:39 chongo Exp $
|
||||
## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/operator,v $
|
||||
##
|
||||
## Under source code control: 1991/07/21 04:37:23
|
||||
|
Reference in New Issue
Block a user