Skip to content

flint

Fast Library for Number Theory

v0.1.4 · Dec 19, 2025 · GPL (>= 2)

Description

An R interface to 'FLINT' <https://flintlib.org/>, a C library for number theory. 'FLINT' extends GNU 'MPFR' <https://www.mpfr.org/> and GNU 'MP' <https://gmplib.org/> with support for operations on standard rings (the integers, the integers modulo n, finite fields, the rational, p-adic, real, and complex numbers) as well as matrices and polynomials over rings. 'FLINT' implements midpoint-radius interval arithmetic, also known as ball arithmetic, in the real and complex numbers, enabling computation in arbitrary precision with rigorous propagation of rounding and other errors; see Johansson (2017) <doi:10.1109/TC.2017.2690633>. Finally, 'FLINT' provides ball arithmetic implementations of many special mathematical functions, with high coverage of reference works such as the NIST Digital Library of Mathematical Functions <https://dlmf.nist.gov/>. The R interface defines S4 classes, generic functions, and methods for representation and basic operations as well as plain R functions mirroring and vectorizing entry points in the C library.

Downloads

CRAN

276

Last 30 days

14742nd

900

Last 90 days

4.9K

Last year

Trend: +9.1% (30d vs prior 30d)

r2u CRAN

10

Last 30 days

27

Last 90 days

342

Last year

Trend: -28.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-patched-linux-x86_64

tests

Running ‘all.equal.R’ [2s/2s]
  Running ‘ambiguity.R’ [3s/4s]
  Running ‘attrib.R’ [1s/2s]
  Running ‘bind.R’ [2s/2s]
  Running ‘coerce.R’ [1s/2s]
  Running ‘data.frame.R’ [2s/2s]
  Comparing ‘data.frame.Rout’ to ‘data.frame.Rout.save’ ... OK
  Runni
...[truncated]...
 class "ulong", dim (2,0), address <pointer: 0>
  Running ‘reg-tests.R’ [2s/2s]
  Running ‘rep.R’ [1s/2s]
  Running ‘seq.R’ [2s/2s]
  Running ‘sort.R’ [3s/4s]
  Running ‘special.R’ [2s/2s]
  Running ‘subscript.R’ [2s/3s]
  Running ‘summary.R’ [3s/4s]
NOTE r-release-linux-x86_64

tests

Running ‘all.equal.R’ [1s/2s]
  Running ‘ambiguity.R’ [3s/3s]
  Running ‘attrib.R’ [1s/1s]
  Running ‘bind.R’ [2s/2s]
  Running ‘coerce.R’ [1s/2s]
  Running ‘data.frame.R’ [2s/2s]
  Comparing ‘data.frame.Rout’ to ‘data.frame.Rout.save’ ... OK
  Runni
...[truncated]...
 class "ulong", dim (2,0), address <pointer: 0>
  Running ‘reg-tests.R’ [2s/2s]
  Running ‘rep.R’ [1s/2s]
  Running ‘seq.R’ [2s/2s]
  Running ‘sort.R’ [3s/5s]
  Running ‘special.R’ [2s/2s]
  Running ‘subscript.R’ [3s/4s]
  Running ‘summary.R’ [3s/4s]
NOTE r-oldrel-macos-arm64

installed package size

installed size is 15.7Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    libs  13.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.1Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    libs  14.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 10.3Mb
  sub-directories of 1Mb or more:
    R      1.6Mb
    libs   8.2Mb

Version History

11 tracked
new 0.1.4 Mar 10, 2026
updated 0.1.4 ← 0.1.3 diff Dec 18, 2025
updated 0.1.3 ← 0.1.2 diff Dec 17, 2025
updated 0.1.2 ← 0.1.1 diff Oct 10, 2025
updated 0.1.1 ← 0.1.0 diff Oct 7, 2025
updated 0.1.0 ← 0.0.5 diff Sep 20, 2025
updated 0.0.5 ← 0.0.4 diff May 26, 2025
updated 0.0.4 ← 0.0.3 diff Mar 23, 2025
updated 0.0.3 ← 0.0.2 diff Feb 23, 2025
updated 0.0.2 ← 0.0.1 diff Feb 19, 2025
new 0.0.1 Feb 16, 2025