[seqfan] Re: Sequences that use '-1' to indicate 'impossible'.

Charles Greathouse charles.greathouse at case.edu
Wed Sep 23 16:04:45 CEST 2015


There are cases where it would be nice to have a sigil for "undefined",
"does not exist", "positive infinity", etc. But I think there's too much
code relying on the entries to be strictly numeric for this to happen.

Charles Greathouse
Analyst/Programmer
Case Western Reserve University

On Wed, Sep 23, 2015 at 8:12 AM, Sidney Cadot <sidney at jigsaw.nl> wrote:

> Hi,
>
> Some sequences use '-1' to indicate that a certain entry does not
> exist, e.g. A154852 and A237584.
>
> Should such sequences be considered signed (kw:sign) or unsigned (kw:nonn)?
>
> Wouldn't it be more appropriate to allow an explicit "null" value in such
> cases?
>
> Regards, SIdney
>
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/
>


More information about the SeqFan mailing list