float: 32-Bit Floats

R comes with a suite of utilities for linear algebra with "numeric" (double precision) vectors/matrices. However, sometimes single precision (or less!) is more than enough for a particular task. This package extends R's linear algebra facilities to include 32-bit float (single precision) data. Float vectors/matrices have half the precision of their "numeric"-type counterparts but are generally faster to numerically operate on, for a performance vs accuracy trade-off. The internal representation is an S4 class, which allows us to keep the syntax identical to that of base R's. Interaction between floats and base types for binary operators is generally possible; in these cases, type promotion always defaults to the higher precision. The package ships with copies of the single precision 'BLAS' and 'LAPACK', which are automatically built in the event they are not available on the system.

Version: 0.3-2
Depends: R (≥ 3.6.0), methods
Imports: utils, tools
Published: 2023-12-10
Author: Drew Schmidt [aut, cre, cph], Wei-Chen Chen [aut], Dmitriy Selivanov [ctb] (improvements in external package linking), ORNL [cph]
Maintainer: Drew Schmidt <wrathematics at gmail.com>
BugReports: https://github.com/wrathematics/float/issues
License: BSD 2-clause License + file LICENSE
Copyright: The copyright for the single precision BLAS/LAPACK distribution located in src/lapack is given in the file src/lapack/LICENSE.
URL: https://github.com/wrathematics/float
NeedsCompilation: yes
Citation: float citation info
Materials: README ChangeLog
CRAN checks: float results

Documentation:

Reference manual: float.pdf
Vignettes: Introducing the float package: 32-Bit Floats for R

Downloads:

Package source: float_0.3-2.tar.gz
Windows binaries: r-devel: float_0.3-2.zip, r-release: float_0.3-2.zip, r-oldrel: float_0.3-2.zip
macOS binaries: r-release (arm64): float_0.3-2.tgz, r-oldrel (arm64): float_0.3-2.tgz, r-release (x86_64): float_0.3-2.tgz
Old sources: float archive

Reverse dependencies:

Reverse imports: GPoM, MatrixExtra, pbdMPI, recometrics, recosystem, rsparse
Reverse linking to: recometrics
Reverse suggests: GPUmatrix, xgboost

Linking:

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