93 EpdCmp(
const char *key1,
const char *key2)
160 sprintf(pos + 1,
"+0%d", exponent);
162 sprintf(pos + 1,
"+%d", exponent);
166 sprintf(pos + 1,
"-0%d", exponent);
168 sprintf(pos + 1,
"-%d", exponent);
626 epd2->
type.
value / pow((
double)2.0, (
double)diff);
633 value = epd1->
type.
value / pow((
double)2.0, (
double)diff) +
692 epd2->
type.
value / pow((
double)2.0, (
double)diff);
699 value = epd1->
type.
value / pow((
double)2.0, (
double)diff) +
816 epd2->
type.
value / pow((
double)2.0, (
double)diff);
823 value = epd1->
type.
value / pow((
double)2.0, (
double)diff) -
826 value = epd2->
type.
value * (double)(-1.0);
883 epd2->
type.
value / pow((
double)2.0, (
double)diff);
890 value = epd1->
type.
value / pow((
double)2.0, (
double)diff) -
893 value = epd2->
type.
value * (double)(-1.0);
949 epd->
type.
value = pow((
double)2.0, (
double)n);
1017 epd->
type.
value /= pow((
double)10.0, (
double)exponent);
1098 sscanf(pos,
"E%d", &exponent);
int IsNanDouble(double value)
void EpdSubtract(EpDouble *epd1, double value)
int EpdGetExponentDecimal(double value)
int EpdCmp(const char *key1, const char *key2)
void EpdConvert(double value, EpDouble *epd)
void EpdDivide3(EpDouble *epd1, EpDouble *epd2, EpDouble *epd3)
void EpdGetValueAndDecimalExponent(EpDouble *epd, double *value, int *exponent)
void EpdCopy(EpDouble *from, EpDouble *to)
#define ABC_ALLOC(type, num)
int EpdIsNan(EpDouble *epd)
void EpdPow2(int n, EpDouble *epd)
void EpdSubtract3(EpDouble *epd1, EpDouble *epd2, EpDouble *epd3)
void EpdNormalize(EpDouble *epd)
int IsInfDouble(double value)
void EpdNormalizeDecimal(EpDouble *epd)
void EpdAdd3(EpDouble *epd1, EpDouble *epd2, EpDouble *epd3)
void EpdDivide(EpDouble *epd1, double value)
void EpdPow2Decimal(int n, EpDouble *epd)
#define ABC_NAMESPACE_IMPL_END
void EpdDivide2(EpDouble *epd1, EpDouble *epd2)
void EpdMakeZero(EpDouble *epd, int sign)
void EpdAdd(EpDouble *epd1, double value)
ABC_NAMESPACE_IMPL_START EpDouble * EpdAlloc(void)
struct IeeeDoubleStruct bits
void EpdMakeInf(EpDouble *epd, int sign)
#define ABC_NAMESPACE_IMPL_START
int EpdIsZero(EpDouble *epd)
void EpdMakeNan(EpDouble *epd)
void EpdMultiply2Decimal(EpDouble *epd1, EpDouble *epd2)
int IsNanOrInfDouble(double value)
void EpdMultiply2(EpDouble *epd1, EpDouble *epd2)
void EpdMultiply3Decimal(EpDouble *epd1, EpDouble *epd2, EpDouble *epd3)
void EpdMultiply(EpDouble *epd1, double value)
void EpdFree(EpDouble *epd)
int EpdIsInf(EpDouble *epd)
void EpdGetString(EpDouble *epd, char *str)
void EpdMultiply3(EpDouble *epd1, EpDouble *epd2, EpDouble *epd3)
void EpdAdd2(EpDouble *epd1, EpDouble *epd2)
int EpdGetExponent(double value)
void EpdSubtract2(EpDouble *epd1, EpDouble *epd2)
int EpdIsNanOrInf(EpDouble *epd)