Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.maple > #1147
| From | Axel Vogt <&noreply@axelvogt.de> |
|---|---|
| Newsgroups | comp.soft-sys.math.maple |
| Subject | Re: 0^k |
| Date | 2015-06-24 19:45 +0200 |
| Message-ID | <cv08liF38l9U1@mid.individual.net> (permalink) |
| References | (1 earlier) <230620150527496642%edgar@math.ohio-state.edu.invalid> <f85fd0f6-7637-4294-a0b9-d84fb842cbee@googlegroups.com> <cutb05Fts3gU1@mid.individual.net> <ad60240e-f2fa-47a8-90c5-dc564f867c03@googlegroups.com> <240620150622365031%edgar@math.ohio-state.edu.invalid> |
On 24.06.2015 14:22, G. A. Edgar wrote:
> In article <ad60240e-f2fa-47a8-90c5-dc564f867c03@googlegroups.com>,
> <peter.luschny@gmail.com> wrote:
>
>> Rainer Rosenthal:
>>> in: seq(0^k, k=-1..-1);
>>> out: 0
>>> in: 0^(-1);
>>> out: Error, numeric exception: division by zero
>>
>> Based on this performance the OEIS Foundation should create
>> a prize, say the 'Golden Vladimir Award' for the best bug
>> of the year, and assign it to Maple.
>
> The "explanation" is that 0^k simplifies to 0, and that happens at such
> a low level that the seq doesn't ever see 0^0.
Indeed.
seq(`^`(0,k), k=0..6);
1, 0, 0, 0, 0, 0, 0
seq(`^`(0,k), k=-1..1);
Error, numeric exception: division by zero
Though nobody would enter it the formal way
Back to comp.soft-sys.math.maple | Previous | Next — Previous in thread | Find similar
0^k peter.luschny@gmail.com - 2015-06-23 01:19 -0700
Re: 0^k "G. A. Edgar" <edgar@math.ohio-state.edu.invalid> - 2015-06-23 05:27 -0600
Re: 0^k peter.luschny@gmail.com - 2015-06-23 06:59 -0700
Re: 0^k Rainer Rosenthal <r.rosenthal@web.de> - 2015-06-23 17:07 +0200
Re: 0^k peter.luschny@gmail.com - 2015-06-23 09:17 -0700
Re: 0^k Rainer Rosenthal <r.rosenthal@web.de> - 2015-06-23 23:38 +0200
Re: 0^k "G. A. Edgar" <edgar@math.ohio-state.edu.invalid> - 2015-06-24 06:22 -0600
Re: 0^k Axel Vogt <&noreply@axelvogt.de> - 2015-06-24 19:45 +0200
csiph-web