<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns (and strtod() policy)"
href="http://bugzilla.scilab.org/show_bug.cgi?id=4401">bug 4401</a>
<br><br>
---------- Bug Summary ----------- <br>isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns (and strtod() policy) <br><br>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Summary</td>
<td>isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns
</td>
<td>isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns (and strtod() policy)
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns (and strtod() policy)"
href="http://bugzilla.scilab.org/show_bug.cgi?id=4401#c29">Comment # 29</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns (and strtod() policy)"
href="http://bugzilla.scilab.org/show_bug.cgi?id=4401">bug 4401</a>
from <span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span></b>
<pre>The Octave policy for its str2double() is presented here:
<a href="https://octave.sourceforge.io/octave/function/str2double.html">https://octave.sourceforge.io/octave/function/str2double.html</a></pre>
</div>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns (and strtod() policy)"
href="http://bugzilla.scilab.org/show_bug.cgi?id=4401#c28">Comment # 28</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns (and strtod() policy)"
href="http://bugzilla.scilab.org/show_bug.cgi?id=4401">bug 4401</a>
from <span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span></b>
<pre>For the record: Pending commit: <a href="https://codereview.scilab.org/#/c/13069/">https://codereview.scilab.org/#/c/13069/</a></pre>
</div>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns (and strtod() policy)"
href="http://bugzilla.scilab.org/show_bug.cgi?id=4401#c27">Comment # 27</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - isnum("%pi") returns %T, but isnum("%e") returns %F, and isnum("%pi+1") returns (and strtod() policy)"
href="http://bugzilla.scilab.org/show_bug.cgi?id=4401">bug 4401</a>
from <span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span></b>
<pre>Present status with Scilab 6.0-b1:
--> Txt = [
> "%nan" "nan" "-NaN" "inf" "-INF" "-%inf + i"
> "-%pi" "%pi+1" "2*%pi" "%pi*2" "%e" "%i"
> "I" "-i" "2i" "-2i" "2*%i" "%i*2"
> "1-i" "-2 - 3i" "+3.e-321" "-1.3" "+.4" "- 3.3D+32 + 234.1 i"
> ]
Txt =
!%nan nan -NaN inf -INF -%inf + i !
! !
!-%pi %pi+1 2*%pi %pi*2 %e %i !
! !
!I -i 2i -2i 2*%i %i*2 !
! !
!1-i -2 - 3i +3.e-321 -1.3 +.4 - 3.3D+32 + 234.1 i !
--> isnum(Txt)
ans =
T T T T T T
T F F F T T
F T T T T F
T T T T T T
--> strtod(Txt)
ans =
Nan Nan Nan Nan Nan Nan
Nan Nan 2. Nan Nan Nan
Nan Nan 2. -2. 2. Nan
1. -2. 0. -1.3 0.4 Nan</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>