f77 [ flags ] file(s) ... -L/usr/local/lib -lgjlC (K&R, 89, 99), C++ (98):DOUBLE PRECISION FUNCTION DEPSLN (X) DOUBLE PRECISION X
cc [ flags ] -I/usr/local/include file(s) ... -L/usr/local/lib -lgjl
Use#include <gampsi.h>to get this prototype:fortran_double_precision depsln(const fortran_double_precision *x_);
NB: The definition of C/C++ data types fortran_ xxx, and the mapping of Fortran external names to C/C++ external names, is handled by the C/C++ header file. That way, the same function or subroutine name can be used in C, C++, and Fortran code, independent of compiler conventions for mangling of external names in these programming languages.
This function is borrowed from the EISPACK library.