[Scilab-Dev] Input requested on a few behaviors for Scilab 6...
Samuel Gougeon
sgougeon at free.fr
Thu Oct 1 22:34:36 CEST 2015
Le 01/10/2015 22:20, Samuel Gougeon a écrit :
> .../...
> a) if stop is %nan => error
> b) if start or step is %nan => returns %nan
.
could be split into
b1) if start is %nan => return %nan
b2) if step is %nan => return start: the first element is well
defined and could be returned.
>
> c) = iii): if start < end && step < 0 => return [], even if start,
> step or stop is/are inf/-inf
> d) = iv): if start > end && step > 0 => return [], even if start, step
> or stop is/are inf/-inf
> e) if|stop| ~= inf && |step|==inf => return start (even if it is +-inf)
> f) if start or stop or both are inf or -inf => error, even when |step|
> is inf
> g) otherwise: normal computation.
>
> Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20151001/f2a50b48/attachment.htm>
More information about the dev
mailing list