Searched refs:dNumber (Results 1 – 4 of 4) sorted by relevance
/external/fastrpc/src/ |
D | std_dtoa.c | 131 double fp_round( double dNumber, int nPrecision ) in fp_round() argument 139 double dResult = dNumber; in fp_round() 142 if( dNumber < 0 ) in fp_round() 144 dResult = dNumber - dRoundingFactor; in fp_round() 148 dResult = dNumber + dRoundingFactor; in fp_round() 154 int fp_log_10( double dNumber ) in fp_log_10() argument 161 if( dNumber < 0 ) in fp_log_10() 163 dNumber = -dNumber; in fp_log_10() 166 return (int)( floor( log10( dNumber ) ) ); in fp_log_10() 169 int fp_check_special_cases( double dNumber, FloatingPointType* pNumberType ) in fp_check_special_cases() argument [all …]
|
D | std_strlprintf.c | 79 typedef int (*pfnFormatFloat)(FieldFormat* me, double dNumber, char* pcBuffer); 194 static int ConvertFloat(FieldFormat* me, double dNumber, char* pcBuffer, in ConvertFloat() argument 224 if (dNumber != 0.0) { in ConvertFloat() 225 nExponent = fp_log_10(dNumber); in ConvertFloat() 239 dNumber = dNumber / FP_POW_10(nExponent); in ConvertFloat() 243 dNumber = ROUND(dNumber, nPrecision); in ConvertFloat() 247 if (('e' == cType) && ((dNumber >= 10.0) || (dNumber <= -10.0))) { in ConvertFloat() 248 dNumber = dNumber / 10.0; in ConvertFloat() 254 nError = std_dtoa_decimal(dNumber, nPrecision, szIntegerPart, szFractionPart); in ConvertFloat() 260 nError = std_dtoa_hex(dNumber, nPrecision, me->cType, szIntegerPart, in ConvertFloat() [all …]
|
D | std_dtoa.h | 121 double fp_round( double dNumber, int nPrecision ); 122 int fp_log_10( double dNumber ); 123 int fp_check_special_cases( double dNumber, FloatingPointType* pNumberType ); 124 int std_dtoa_decimal( double dNumber, int nPrecision, 127 int std_dtoa_hex( double dNumber, int nPrecision, char cFormat,
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_value.cpp | 30 double dNumber = fNumber, dNumberAbs = fabs(fNumber); in ftod() local 50 return fNumber < 0 ? ceil(dNumber * dPow - 0.5) / dPow in ftod() 51 : floor(dNumber * dPow + 0.5) / dPow; in ftod()
|