[Scilab-users] [SEP] factorial() extension on [171, 10^4]

classic Classic list List threaded Threaded
1 message Options
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] [SEP] factorial() extension on [171, 10^4]

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.

Comments are welcome.

Regards
Samuel


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users