Changes in version 0.2-1 (2026-01-27) o The package vignette now contains an appendix providing more details on the fix introduced in version 0.2-0 for the computation of the incomplete gamma function for small negative values of a. Changes in version 0.2-0 (2026-01-19) BUG FIXES o gammainc now handles values of a in (-0.5, 0) correctly by using the standard recursion, relying on the accuracy of pgamma for small values of a; fixes issue #2. Changes in version 0.1-9 (2025-11-08) BUG FIXES o Replacement of a few API entry points for C API compliance introduced in R 4.5.0. Changes in version 0.1-8 (2022-10-28) NEW FEATURE o Unit tests for the incomplete gamma function based on the definition, and for the exponential integrals based on a table of Abramowitz and Stegun. BUG FIXES o Include prototypes for all C level functions to please -Wstrict-prototypes. Changes in version 0.1-7 (2022-03-28) BUG FIXES o Replace deprecated (as of R 4.2.0) macro DOUBLE_EPS by DBL_EPSILON in C code. o Remove the unnecessary LazyData entry in the DESCRIPTION file. Changes in version 0.1-6 (2019-12-04) o Fixed the example API and the documentation in the vignette. The previous implementation yielded duplicated symbols with option -fno-common that will be the default in gcc starting with version 10.0.x. Thanks to Joshua Ulrich , maintainer of xts and TTR for proposing the fix. Changes in version 0.1-5 (2018-06-29) o Minor documentation and comments updates. Changes in version 0.1-4 (2017-05-05) BUG FIX o Usage of R_useDynamicSymbols to preclude compilation NOTEs, better registration of native routines and reduced symbol visibility. o Vignette no longer uses LaTeX package framed as it was not found on OS X in CRAN builds. Changes in version 0.1-3 (2017-01-10) BUG FIX o Fixed wrong values for expint_E1(x, scale = TRUE) for x in (-4, -1] or x in (0, 1]. Thanks to Vincent Dorie for the catch and report. Changes in version 0.1-2 (2016-12-23) o Yet more authors (actually copyright holders) added to the list of authors. Changes in version 0.1-1 (2016-12-23) BUG FIX o Fixed improper use of macro ISNAN (and ISNA) that caused compilation to fail on Linux and Solaris. OTHER CHANGES o Original author of GSL code for expint and gamma_inc (G. Jungman) added as an author of the package. o Improved (read: more explicit) copyright notices to GSL, R Core Team and R Foundation where appropriate. Changes in version 0.1-0 (2016-12-20) o Initial release. The package provides the R functions to compute the exponential integrals E_1(x), E_2(x), E_n(x) and Ei(x), and the incomplete gamma function G(a, x). The package also provides a C API to access the actual workhorses expint_E1, expint_E2, expint_En and gamma_inc. Sub-directory example_API of the package installation directory contains a complete test package implementing API usage.