Package: fracture 0.2.1

fracture: Convert Decimals to Fractions

Provides functions for converting decimals to a matrix of numerators and denominators or a character vector of fractions. Supports mixed or improper fractions, finding common denominators for vectors of fractions, limiting denominators to powers of ten, and limiting denominators to a maximum value. Also includes helper functions for finding the least common multiple and greatest common divisor for a vector of integers. Implemented using C++ for maximum speed.

Authors:Alexander Rossell Hayes [aut, cre, cph]

fracture_0.2.1.tar.gz
fracture_0.2.1.zip(r-4.5)fracture_0.2.1.zip(r-4.4)fracture_0.2.1.zip(r-4.3)
fracture_0.2.1.tgz(r-4.4-arm64)fracture_0.2.1.tgz(r-4.4-x86_64)fracture_0.2.1.tgz(r-4.3-arm64)fracture_0.2.1.tgz(r-4.3-x86_64)
fracture_0.2.1.tar.gz(r-4.5-noble)fracture_0.2.1.tar.gz(r-4.4-noble)
fracture_0.2.1.tgz(r-4.4-emscripten)fracture_0.2.1.tgz(r-4.3-emscripten)
fracture.pdf |fracture.html
fracture/json (API)
NEWS

# Install 'fracture' in R:
install.packages('fracture', repos = c('https://rossellhayes.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rossellhayes/fracture/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

9 exports 22 stars 2.28 score 1 dependencies 1 dependents 266 downloads

Last updated 2 years agofrom:b0e7925c81

Exports:as.frac_matas.fracturefrac_gcdfrac_lcmfrac_matfrac_stylefractureis.frac_matis.fracture

Dependencies:Rcpp