Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.maple > #1146

Re: 0^k

From "G. A. Edgar" <edgar@math.ohio-state.edu.invalid>
Newsgroups comp.soft-sys.math.maple
Subject Re: 0^k
Date 2015-06-24 06:22 -0600
Organization Ohio State Univ
Message-ID <240620150622365031%edgar@math.ohio-state.edu.invalid> (permalink)
References <59d5f2e4-37da-4b46-8a8c-9f688ca3b99e@googlegroups.com> <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>

Show all headers | View raw


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.

-- 
G. A. Edgar                              http://www.math.ohio-state.edu/~edgar/

Back to comp.soft-sys.math.maple | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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