Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
d_cis.c File Reference
#include "cmplx.h"
#include <errno.h>
#include "moremath.h"
Include dependency graph for d_cis.c:

Go to the source code of this file.

Classes

union  du

Defines

#define ROUND(d)   round(d)

Functions

double fabs (double)
int round (double)
dcomplex __dcis (double x)

Variables

double __libm_qnan_d
int * __errnoaddr
static const du tblh []
static const du tbll []
static const du rpiby2
static const du twopm23
static const du zero
static const du half
static const du one
static const du ph
static const du pl
static const du pt
static const du pe
static const du pe2
static const du Pt
static const du piby2low
static const du S []
static const du C []

Define Documentation

#define ROUND (   d)    round(d)

Definition at line 51 of file d_cis.c.

Referenced by __dcis().


Function Documentation

dcomplex __dcis ( double  x)

Definition at line 189 of file d_cis.c.

References __errnoaddr, __libm_qnan_d, d, du::d, dcomplex::dimag, dcomplex::dreal, fabs(), L, result, and ROUND.

Referenced by d_cis().

Here is the call graph for this function:

double fabs ( double  )
int round ( double  )

Variable Documentation

double __libm_qnan_d

Referenced by __dcis().

const du C[] [static]
Initial value:
{
{D(0x3ff00000,  0x00000000)},
{D(0xbfdfffff,  0xffffff96)},
{D(0x3fa55555,  0x5554f0ab)},
{D(0xbf56c16c,  0x1640aaca)},
{D(0x3efa019f,  0x81cb6a1d)},
{D(0xbe927df4,  0x609cb202)},
{D(0x3e21b8b9,  0x947ab5c8)},
}

Definition at line 169 of file d_cis.c.

const du half [static]
Initial value:
{D(0x3fe00000,  0x00000000)}

Definition at line 127 of file d_cis.c.

const du one [static]
Initial value:
{D(0x3ff00000,  0x00000000)}

Definition at line 130 of file d_cis.c.

const du pe [static]
Initial value:
{D(0x3ae8a2e0,  0x30000000)}

Definition at line 142 of file d_cis.c.

const du pe2 [static]
Initial value:
{D(0x394c1cd1,  0x29024e09)}

Definition at line 145 of file d_cis.c.

const du ph [static]
Initial value:
{D(0x3ff921fb,  0x50000000)}

Definition at line 133 of file d_cis.c.

Referenced by main().

const du piby2low [static]
Initial value:
{D(0x3e5110b4,  0x611a6263)}

Definition at line 151 of file d_cis.c.

const du pl [static]
Initial value:
{D(0x3e5110b4,  0x60000000)}

Definition at line 136 of file d_cis.c.

const du pt [static]
Initial value:
{D(0x3c91a626,  0x30000000)}

Definition at line 139 of file d_cis.c.

Referenced by IPAA_PU_INFO::IPAA_PU_INFO().

const du Pt [static]
Initial value:
{D(0x3c91a626,  0x33145c07)}

Definition at line 148 of file d_cis.c.

const du rpiby2 [static]
Initial value:
{D(0x3fe45f30,  0x6dc9c883)}

Definition at line 118 of file d_cis.c.

const du S[] [static]
Initial value:
{
{D(0x3ff00000,  0x00000000)},
{D(0xbfc55555,  0x55555548)},
{D(0x3f811111,  0x1110f7d0)},
{D(0xbf2a01a0,  0x19bfdf03)},
{D(0x3ec71de3,  0x567d4896)},
{D(0xbe5ae5e5,  0xa9291691)},
{D(0x3de5d8fd,  0x1fcf0ec1)},
}

Definition at line 156 of file d_cis.c.

const du tblh[] [static]
Initial value:
{
{D(0xc02f6a7a,  0x2955385e)},
{D(0xc02c463a,  0xbeccb2bb)},
{D(0xc02921fb,  0x54442d18)},
{D(0xc025fdbb,  0xe9bba775)},
{D(0xc022d97c,  0x7f3321d2)},
{D(0xc01f6a7a,  0x2955385e)},
{D(0xc01921fb,  0x54442d18)},
{D(0xc012d97c,  0x7f3321d2)},
{D(0xc00921fb,  0x54442d18)},
{D(0xbff921fb,  0x54442d18)},
{D(0x00000000,  0x00000000)},
{D(0x3ff921fb,  0x54442d18)},
{D(0x400921fb,  0x54442d18)},
{D(0x4012d97c,  0x7f3321d2)},
{D(0x401921fb,  0x54442d18)},
{D(0x401f6a7a,  0x2955385e)},
{D(0x4022d97c,  0x7f3321d2)},
{D(0x4025fdbb,  0xe9bba775)},
{D(0x402921fb,  0x54442d18)},
{D(0x402c463a,  0xbeccb2bb)},
{D(0x402f6a7a,  0x2955385e)},
}

Definition at line 68 of file d_cis.c.

const du tbll[] [static]
Initial value:
{
{D(0xbcc60faf,  0xbfd97309)},
{D(0xbcc3daea,  0xf976e788)},
{D(0xbcc1a626,  0x33145c07)},
{D(0xbcbee2c2,  0xd963a10c)},
{D(0xbcba7939,  0x4c9e8a0a)},
{D(0xbcb60faf,  0xbfd97309)},
{D(0xbcb1a626,  0x33145c07)},
{D(0xbcaa7939,  0x4c9e8a0a)},
{D(0xbca1a626,  0x33145c07)},
{D(0xbc91a626,  0x33145c07)},
{D(0x00000000,  0x00000000)},
{D(0x3c91a626,  0x33145c07)},
{D(0x3ca1a626,  0x33145c07)},
{D(0x3caa7939,  0x4c9e8a0a)},
{D(0x3cb1a626,  0x33145c07)},
{D(0x3cb60faf,  0xbfd97309)},
{D(0x3cba7939,  0x4c9e8a0a)},
{D(0x3cbee2c2,  0xd963a10c)},
{D(0x3cc1a626,  0x33145c07)},
{D(0x3cc3daea,  0xf976e788)},
{D(0x3cc60faf,  0xbfd97309)},
}

Definition at line 93 of file d_cis.c.

const du twopm23 [static]
Initial value:
{D(0x3e800000,  0x00000000)}

Definition at line 121 of file d_cis.c.

const du zero [static]
Initial value:
{D(0x00000000,  0x00000000)}

Definition at line 124 of file d_cis.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines