The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

logStirling2: Fast Stirling Numbers of the Second Kind

Provides efficient tools for calculating Stirling numbers of the second kind and their logarithms. Includes an exact arbitrary-precision implementation using 'gmp' that avoids numerical cancellation, a fast C++ backend with internal caching for log-scale calculations, and Temme's asymptotic approximation for very large inputs.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: gmp, Rcpp
LinkingTo: Rcpp
Suggests: testthat (≥ 3.0.0)
Published: 2026-05-05
DOI: 10.32614/CRAN.package.logStirling2
Author: Jon Blood [aut, cre]
Maintainer: Jon Blood <jblood94 at gmail.com>
License: GPL (≥ 3)
NeedsCompilation: yes
Materials: README
CRAN checks: logStirling2 results

Documentation:

Reference manual: logStirling2.html , logStirling2.pdf

Downloads:

Package source: logStirling2_0.2.0.tar.gz
Windows binaries: r-devel: logStirling2_0.2.0.zip, r-release: logStirling2_0.2.0.zip, r-oldrel: logStirling2_0.2.0.zip
macOS binaries: r-release (arm64): logStirling2_0.2.0.tgz, r-oldrel (arm64): logStirling2_0.2.0.tgz, r-release (x86_64): logStirling2_0.2.0.tgz, r-oldrel (x86_64): logStirling2_0.2.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=logStirling2 to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.