The GSL-FFI-MATH module

Mathematical constants

$gsl-e Constant
$gsl-log10e Constant
$gsl-log2e Constant
$gsl-pi Constant
$gsl-pi/2 Constant
$gsl-pi/4 Constant
$gsl-sqrt1/2 Constant
$gsl-sqrt1/3 Constant
$gsl-sqrt2 Constant
$gsl-sqrt3 Constant

Floating point comparison

gsl-fcmp Function
Signature:

gsl-fcmp (x y epsilon) => (comparison)

Parameters:
  • x – An instance of export-type-for(<c-double>).

  • y – An instance of export-type-for(<c-double>).

  • epsilon – An instance of export-type-for(<c-double>).

Values:
  • comparison – An instance of import-type-for(<c-int>).

Elementary functions

gsl-log1p Function
Signature:

gsl-log1p (x) => (log1p-x)

Parameters:
  • x – An instance of export-type-for(<c-double>).

Values:
  • log1p-x – An instance of import-type-for(<c-double>).

gsl-expm1 Function
Signature:

gsl-expm1 (x) => (expm1-x)

Parameters:
  • x – An instance of export-type-for(<c-double>).

Values:
  • expm1-x – An instance of import-type-for(<c-double>).

gsl-hypot Function
Signature:

gsl-hypot (x y) => (hypot-xy)

Parameters:
  • x – An instance of export-type-for(<c-double>).

  • y – An instance of export-type-for(<c-double>).

Values:
  • hypot-xy – An instance of import-type-for(<c-double>).

gsl-hypot3 Function
Signature:

gsl-hypot3 (x y z) => (hypot3-xyz)

Parameters:
  • x – An instance of export-type-for(<c-double>).

  • y – An instance of export-type-for(<c-double>).

  • z – An instance of export-type-for(<c-double>).

Values:
  • hypot3-xyz – An instance of import-type-for(<c-double>).

gsl-acosh Function
Signature:

gsl-acosh (x) => (acosh-x)

Parameters:
  • x – An instance of export-type-for(<c-double>).

Values:
  • acosh-x – An instance of import-type-for(<c-double>).

gsl-asinh Function
Signature:

gsl-asinh (x) => (asinh-x)

Parameters:
  • x – An instance of export-type-for(<c-double>).

Values:
  • asinh-x – An instance of import-type-for(<c-double>).

gsl-atanh Function
Signature:

gsl-atanh (x) => (atanh-x)

Parameters:
  • x – An instance of export-type-for(<c-double>).

Values:
  • atanh-x – An instance of import-type-for(<c-double>).

gsl-ldexp Function
Signature:

gsl-ldexp (x n) => (ldexp-xn)

Parameters:
  • x – An instance of export-type-for(<c-double>).

  • n – An instance of export-type-for(<c-int>).

Values:
  • ldexp-xn – An instance of import-type-for(<c-double>).

gsl-frexp Function
Signature:

gsl-frexp (x n) => (frexp-xn)

Parameters:
  • x – An instance of export-type-for(<c-double>).

  • n – An instance of export-type-for(<c-int>).

Values:
  • frexp-xn – An instance of import-type-for(<c-double>).

gsl-hypot3 Function
Signature:

gsl-hypot3 (x y z) => (hypot3-xyz)

Parameters:
  • x – An instance of export-type-for(<c-double>).

  • y – An instance of export-type-for(<c-double>).

  • z – An instance of export-type-for(<c-double>).

Values:
  • hypot3-xyz – An instance of import-type-for(<c-double>).

gsl-acosh Function
Signature:

gsl-acosh (x) => (acosh-x)

Parameters:
  • x – An instance of export-type-for(<c-double>).

Values:
  • acosh-x – An instance of import-type-for(<c-double>).

gsl-asinh Function
Signature:

gsl-asinh (x) => (asinh-x)

Parameters:
  • x – An instance of export-type-for(<c-double>).

Values:
  • asinh-x – An instance of import-type-for(<c-double>).

gsl-atanh Function
Signature:

gsl-atanh (x) => (atanh-x)

Parameters:
  • x – An instance of export-type-for(<c-double>).

Values:
  • atanh-x – An instance of import-type-for(<c-double>).

gsl-ldexp Function
Signature:

gsl-ldexp (x n) => (ldexp-xn)

Parameters:
  • x – An instance of export-type-for(<c-double>).

  • n – An instance of export-type-for(<c-int>).

Values:
  • ldexp-xn – An instance of import-type-for(<c-double>).

gsl-frexp Function
Signature:

gsl-frexp (x n) => (frexp-xn)

Parameters:
  • x – An instance of export-type-for(<c-double>).

  • n – An instance of export-type-for(<c-int>).

Values:
  • frexp-xn – An instance of import-type-for(<c-double>).