Home | History | Annotate | Download | only in dist

Lines Matching refs:exp

19557   int  exp, e2;              /* exponent of real numbers */
19789 exp = 0;
19796 while( realvalue>=1e32 && exp<=350 ){ realvalue *= 1e-32; exp+=32; }
19797 while( realvalue>=1e8 && exp<=350 ){ realvalue *= 1e-8; exp+=8; }
19798 while( realvalue>=10.0 && exp<=350 ){ realvalue *= 0.1; exp++; }
19799 while( realvalue<1e-8 ){ realvalue *= 1e8; exp-=8; }
19800 while( realvalue<1.0 ){ realvalue *= 10.0; exp--; }
19801 if( exp>350 ){
19820 if( realvalue>=10.0 ){ realvalue *= 0.1; exp++; }
19824 if( exp<-4 || exp>precision ){
19827 precision = precision - exp;
19836 e2 = exp;
19889 if( exp<0 ){
19890 *(bufpt++) = '-'; exp = -exp;
19894 if( exp>=100 ){
19895 *(bufpt++) = (char)((exp/100)+'0'); /* 100's digit */
19896 exp %= 100;
19898 *(bufpt++) = (char)(exp/10+'0'); /* 10's digit */
19899 *(bufpt++) = (char)(exp%10+'0'); /* 1's digit */
133459 ** $Id: icu.c,v 1.7 2007/12/13 21:54:11 drh Exp $