lsd_mkb/lsd_mkb_superlu/superlu_threads/dlamch.c File Reference

#include <stdio.h>
Include dependency graph for dlamch.c:

Defines

#define TRUE_   (1)
#define FALSE_   (0)
#define abs(x)   ((x) >= 0 ? (x) : -(x))
#define min(a, b)   ((a) <= (b) ? (a) : (b))
#define max(a, b)   ((a) >= (b) ? (a) : (b))

Functions

double dlamch_ (char *cmach)
int dlamc1_ (int *beta, int *t, int *rnd, int *ieee1)
int dlamc2_ (int *beta, int *t, int *rnd, double *eps, int *emin, double *rmin, int *emax, double *rmax)
double dlamc3_ (double *a, double *b)
int dlamc4_ (int *emin, double *start, int *base)
int dlamc5_ (int *beta, int *p, int *emin, int *ieee, int *emax, double *rmax)
double pow_di (double *ap, int *bp)

Define Documentation

#define abs (  )     ((x) >= 0 ? (x) : -(x))
#define FALSE_   (0)
#define max ( a,
 )     ((a) >= (b) ? (a) : (b))
#define min ( a,
 )     ((a) <= (b) ? (a) : (b))
#define TRUE_   (1)

Function Documentation

int dlamc1_ ( int *  beta,
int *  t,
int *  rnd,
int *  ieee1 
)

Here is the call graph for this function:

int dlamc2_ ( int *  beta,
int *  t,
int *  rnd,
double *  eps,
int *  emin,
double *  rmin,
int *  emax,
double *  rmax 
)

Here is the call graph for this function:

double dlamc3_ ( double *  a,
double *  b 
)
int dlamc4_ ( int *  emin,
double *  start,
int *  base 
)

Here is the call graph for this function:

int dlamc5_ ( int *  beta,
int *  p,
int *  emin,
int *  ieee,
int *  emax,
double *  rmax 
)

Here is the call graph for this function:

double dlamch_ ( char *  cmach  ) 
    Purpose   
    =======
    DLAMCH determines double precision machine parameters.
    Arguments   
    =========
    CMACH   (input) CHARACTER*1   
            Specifies the value to be returned by DLAMCH:   
            = 'E' or 'e',   DLAMCH := eps   
            = 'S' or 's ,   DLAMCH := sfmin   
            = 'B' or 'b',   DLAMCH := base   
            = 'P' or 'p',   DLAMCH := eps*base   
            = 'N' or 'n',   DLAMCH := t   
            = 'R' or 'r',   DLAMCH := rnd   
            = 'M' or 'm',   DLAMCH := emin   
            = 'U' or 'u',   DLAMCH := rmin   
            = 'L' or 'l',   DLAMCH := emax   
            = 'O' or 'o',   DLAMCH := rmax
            where
            eps   = relative machine precision   
            sfmin = safe minimum, such that 1/sfmin does not overflow   
            base  = base of the machine   
            prec  = eps*base   
            t     = number of (base) digits in the mantissa   
            rnd   = 1.0 when rounding occurs in addition, 0.0 otherwise   
            emin  = minimum exponent before (gradual) underflow   
            rmin  = underflow threshold - base**(emin-1)   
            emax  = largest exponent before overflow   
            rmax  = overflow threshold  - (base**emax)*(1-eps)
   ===================================================================== 

Here is the call graph for this function:

double pow_di ( double *  ap,
int *  bp 
)

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1