Hello,
While fixing the bug 7562 about a bad memory usage by factorial(),
i was wondering about the poor factorial() result, since currently
it can process only integers in [0, 170] before saturating and returning
%inf.
This Scilab Enhancement Proposed (SEP) aims to extend factorial()
to all integers in [0, 10^4].
To do this, two new output arguments are proposed :
* p : the power of 10 of the result
* m : the mantissa of the result, in [1, 10[
The new syntaxes with p and m, and relative errors are presented in the
prospective factorial help page
http://bugzilla.scilab.org/attachment.cgi?id=4702
This SEP comes after a wish reported as bug 15517
<http://bugzilla.scilab.org/show_bug.cgi?id=15517>.
Comments are welcome.
Regards
Samuel
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users