r8lib
r8lib,
an R code which
contains utilities for real 64 bit (R8) arithmetic.
Licensing:
The information on this web page is distributed under the MIT license.
Languages:
r8lib is available in
a C version and
a C++ version and
a Fortran90 version and
a MATLAB version and
an Octave version and
a Python version and
an R version.
Related Programs:
r8lib_test
Source Code:
-
r8_agm.R,
returns the arithmetic-geometric mean of an R8;
-
r8_cube_root.R,
returns the cube root of an R8;
-
r8_sigmoid.R,
evaluates the sigmoid or logistic function;
-
r8_softplus.R,
evaluates the "soft plus" function, a smoothed version
of f(x)=max(x,0.0).
-
r8_wrap.R,
forces a value r to lie between rlo and rhi, using wrapping.
Last revised on 14 September 2026.