From -2737333894391004546
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,9a5d91576ea14293
X-Google-Attributes: gid109fba,public
X-Google-Thread: f78e5,42ca30940288d269
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1992-03-02 12:02:05 PST
Xref: sparky comp.lang.c++:5496 comp.std.c++:262
Path: sparky!uunet!spool.mu.edu!agate!forney.berkeley.edu!jbuck
From: jbuck@forney.berkeley.edu (Joe Buck)
Newsgroups: comp.lang.c++,comp.std.c++
Subject: Re: X to the Y power, how?
Message-ID: <ou15nINNcqb@agate.berkeley.edu>
Date: 2 Mar 92 19:54:31 GMT
Article-I.D.: agate.ou15nINNcqb
References: <22292@alice.att.com> <omci1INN8np@agate.berkeley.edu> <1992Feb28.223749.2358@wdl.loral.com>
Organization: University of California, Berkeley
Lines: 12
NNTP-Posting-Host: forney.berkeley.edu

In article <1992Feb28.223749.2358@wdl.loral.com> mab@wdl39.wdl.loral.com (Mark A Biggar) writes:
> [ commenting on my proposal ]
>Why is (-2.0)@-2 undefined.  Isn't it equal to -0.25?
>I thought there was a problem only with fractional exponents of negitive
>numbers not negitive integral exponents.

You are correct; the restriction is an error.  The negative exponent is
only a problem when both arguments are integers, because the result is
not in the range space of the function (non-integral).

--
Joe Buck	jbuck@ohm.berkeley.edu


