R/zzz.R

Defines functions .onUnload .onLoad

.onLoad <- function(libname, pkgname) {
  assign(".boostmath_constants", .Call(`constants_`), envir = topenv())
}

.onUnload <- function(libpath) {
   # unload the package library
   library.dynam.unload("boostmath", libpath)
}

Try the boostmath package in your browser

Any scripts or data that you put into this service are public.

boostmath documentation built on Dec. 15, 2025, 5:07 p.m.