Lines Matching refs:exp
27455 int exp, e2; /* exponent of real numbers */
27755 exp = 0;
27763 while( realvalue>=1e100*scale && exp<=350 ){ scale *= 1e100;exp+=100;}
27764 while( realvalue>=1e10*scale && exp<=350 ){ scale *= 1e10; exp+=10; }
27765 while( realvalue>=10.0*scale && exp<=350 ){ scale *= 10.0; exp++; }
27767 while( realvalue<1e-8 ){ realvalue *= 1e8; exp-=8; }
27768 while( realvalue<1.0 ){ realvalue *= 10.0; exp--; }
27769 if( exp>350 ){
27784 if( realvalue>=10.0 ){ realvalue *= 0.1; exp++; }
27788 if( exp<-4 || exp>precision ){
27791 precision = precision - exp;
27800 e2 = exp;
27854 if( exp<0 ){
27855 *(bufpt++) = '-'; exp = -exp;
27859 if( exp>=100 ){
27860 *(bufpt++) = (char)((exp/100)+'0'); /* 100's digit */
27861 exp %= 100;
27863 *(bufpt++) = (char)(exp/10+'0'); /* 10's digit */
27864 *(bufpt++) = (char)(exp%10+'0'); /* 1's digit */