CRAN/E | float

float

32-Bit Floats

Installation

About

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.

Citation float citation info
github.com/wrathematics/float
Copyright The copyright for the single precision BLAS/LAPACK distribution located in src/lapack is given in the file src/lapack/LICENSE.
Bug report File report

Key Metrics

Version 0.3-2
R ≥ 3.6.0
Published 2023-12-10 224 days ago
Needs compilation? yes
License BSD 2-clause License
License File
CRAN checks float results

Downloads

Yesterday 144 -26%
Last 7 days 1.974 -5%
Last 30 days 8.379 -10%
Last 90 days 26.334 -8%
Last 365 days 116.705 -20%

Maintainer

Maintainer

Drew Schmidt

Authors

Drew Schmidt

aut / cre / cph

Wei-Chen Chen

aut

Dmitriy Selivanov

ctb

(improvements in external package linking)

ORNL

cph

Material

README
ChangeLog
Reference manual
Package source

Vignettes

Introducing the float package: 32-Bit Floats for R

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

float archive

Depends

R ≥ 3.6.0
methods

Imports

utils
tools

Reverse Imports

GPoM
MatrixExtra
pbdMPI
recometrics
recosystem
rsparse

Reverse Suggests

GPUmatrix
xgboost

Reverse LinkingTo

recometrics