Crosstabs: Use logarithms to calculate the product/quotients of factorials
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 18 Sep 2013 18:37:59 +0000 (20:37 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 20 Sep 2013 15:34:37 +0000 (17:34 +0200)
commit1c14db584d9a90589ae04889975944e4e7ca3a77
tree995968316cbe4dd6bddbb92b459d9e52fa06dbc7
parent41f83a8f1c88489e4fc458fb7661430ff91d8a61
Crosstabs: Use logarithms to calculate the product/quotients of factorials

Avoid overflow of large numbers resulting from factorials, by using the logarithms as
intermediate results
src/language/stats/crosstabs.q