Combinations and permutations: Difference between revisions

→‎{{header|RPL}}: floating point aprox
(add RPL)
(→‎{{header|RPL}}: floating point aprox)
Line 2,324:
</pre>
 
=={{header|RPL}}==
 
≪ / LAST ROT * - ≫ '<span style="color:blue">BMOD</span>' STO
Line 2,350:
1: { # 75394027566d # 4191844505805495d # 118264581564861424d # 4191844505805495d # 75394027566d }
</pre>
Floating point approximations can be obtained by the built-in commands, provided that the result does not go beyond 1E500:
1000 150 PERM
1000 400 COMB
{{out}}
<pre>
2: 7.67405677335E444
1: 4.96527238625E290
</pre>
 
=={{header|Ruby}}==
Float calculation as Tcl.
1,150

edits