<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 01/10/2015 22:20, Samuel Gougeon a
écrit :<br>
</div>
<blockquote cite="mid:560D9570.8030606@free.fr" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
.../...<br>
a) if stop is %nan => error <br>
b) if start or step is %nan => returns %nan</blockquote>
.<br>
could be split into<br>
b1) if start is %nan => return %nan<br>
b2) if step is %nan => return start: the first element is well
defined and could be returned.<br>
<blockquote cite="mid:560D9570.8030606@free.fr" type="cite"> <br>
c) = iii): if start < end && step < 0 => return
[], even if start, step or stop is/are inf/-inf <br>
d) = iv): if start > end && step > 0 => return
[], even if start, step or stop is/are inf/-inf <br>
e) if<code class="moz-txt-verticalline"><span class="moz-txt-tag"></span><span
class="moz-txt-tag"></span></code> <code
class="moz-txt-verticalline"><span class="moz-txt-tag">|</span>stop<span
class="moz-txt-tag">|</span></code> ~= inf && <code
class="moz-txt-verticalline"><span class="moz-txt-tag">|</span>step<span
class="moz-txt-tag">|</span></code>==inf => return start
(even if it is +-inf) <br>
f) if start or stop or both are inf or -inf => error, even when
<code class="moz-txt-verticalline"><span class="moz-txt-tag">|</span>step<span
class="moz-txt-tag">|</span></code> is inf<br>
g) otherwise: normal computation.<br>
<br>
Samuel<br>
</blockquote>
<br>
</body>
</html>