@ -3,8 +3,6 @@
// General includes.
# include "cl_sysdep.h"
CL_PROVIDE ( cl_F_eulerconst_var )
// Specification.
# include "cl_F_tran.h"
@ -18,20 +16,35 @@ CL_PROVIDE(cl_F_eulerconst_var)
namespace cln {
// Mantisse der Eulerschen Konstante :
static const uintD eulerconst_mantisse [ 64 / intDsize ] =
# include "cl_F_eulerconst_var.h"
cl_LF cl_LF_eulerconst = encode_LF_array ( 0 , 0 , eulerconst_mantisse , 64 / intDsize ) ;
cl_LF & cl_LF_eulerconst ( )
{
// Mantisse der Eulerschen Konstante :
static const uintD eulerconst_mantisse [ 64 / intDsize ] =
# include "cl_F_eulerconst_var.h"
static cl_LF val = encode_LF_array ( 0 , 0 , eulerconst_mantisse , 64 / intDsize ) ;
return val ;
}
// Problem: If someone changes free_hook, the destructor of this
// will call the new hook, passing it some pointer obtained by the old
// malloc_hook. ??
const cl_SF cl_SF_eulerconst = cl_LF_to_SF ( cl_LF_eulerconst ) ;
const cl_FF cl_FF_eulerconst = cl_LF_to_FF ( cl_LF_eulerconst ) ;
const cl_DF cl_DF_eulerconst = cl_LF_to_DF ( cl_LF_eulerconst ) ;
const cl_SF & cl_SF_eulerconst ( )
{
static const cl_SF val = cl_LF_to_SF ( cl_LF_eulerconst ( ) ) ;
return val ;
}
const cl_FF & cl_FF_eulerconst ( )
{
static const cl_FF val = cl_LF_to_FF ( cl_LF_eulerconst ( ) ) ;
return val ;
}
const cl_DF & cl_DF_eulerconst ( )
{
static const cl_DF val = cl_LF_to_DF ( cl_LF_eulerconst ( ) ) ;
return val ;
}
} // namespace cln
CL_PROVIDE_END ( cl_F_eulerconst_var )