Lines Matching refs:nExp
286 short nExp = 0; // Exponent in myftoa() local
298 nExp = 0; in myftoa()
301 while( nNum < 1.0 ) nNum *= 10.0, nExp--; in myftoa()
302 while( nNum >= 10.0 ) nNum /= 10.0, nExp++; in myftoa()
305 nDig = nDig + nExp; in myftoa()
307 nDig = nExp + 1; in myftoa()
313 ++nExp; in myftoa()
320 if( nExp < 0 ) in myftoa()
325 i = -nExp - 1; in myftoa()
331 nDec = nExp+1; in myftoa()
366 *pBuf++ =( nExp < 0 ) ?( (nExp = -nExp ), '-' ) : '+'; in myftoa()
368 if( nExp >= 100 || nExpWidth == 3 ) in myftoa()
370 *pBuf++ = sal::static_int_cast< char >(nExp/100 + '0'); in myftoa()
371 nExp %= 100; in myftoa()
373 if( nExp/10 || nExpWidth >= 2 ) in myftoa()
374 *pBuf++ = sal::static_int_cast< char >(nExp/10 + '0'); in myftoa()
375 *pBuf++ = sal::static_int_cast< char >(nExp%10 + '0'); in myftoa()