<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>While fixing the bug 7562 about a bad memory usage by
factorial(),<br>
i was wondering about the poor factorial() result, since currently<br>
it can process only integers in [0, 170] before saturating and
returning %inf.</p>
<p>This Scilab Enhancement Proposed (SEP) aims to extend factorial()<br>
to all integers in [0, 10^4].<br>
To do this, two new output arguments are proposed :</p>
<ul>
<li>p : the power of 10 of the result</li>
<li>m : the mantissa of the result, in [1, 10[</li>
</ul>
<p>The new syntaxes with p and m, and relative errors are presented
in the<br>
prospective factorial help page
<a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/attachment.cgi?id=4702">http://bugzilla.scilab.org/attachment.cgi?id=4702</a><br>
</p>
<p>This SEP comes after a wish reported as <a
href="http://bugzilla.scilab.org/show_bug.cgi?id=15517">bug
15517</a>.</p>
<p>Comments are welcome.<br>
<br>
Regards<br>
Samuel<br>
<br>
</p>
</body>
</html>