Lines Matching refs:sval

62    char *sval;  in commaized_integer_string()  local
73 sval = svals[k]; in commaized_integer_string()
80 (!pval && qlen <= 4) ){ strcpy(sval,qval); return sval; } in commaized_integer_string()
85 for( qq=0 ; qq < qpos ; qq++ ) sval[qq] = qval[qq] ; in commaized_integer_string()
88 sval[ss++] = ',' ; in commaized_integer_string()
89 sval[ss++] = qval[qq++] ; in commaized_integer_string()
90 sval[ss++] = qval[qq++] ; in commaized_integer_string()
91 sval[ss++] = qval[qq++] ; in commaized_integer_string()
93 sval[ss] = '\0' ; return sval ; in commaized_integer_string()
101 char *sval; in approximate_number_string() local
107 sval = svals[k]; in approximate_number_string()
110 if( aval == 0.0 ){ strcpy(sval,"Zero"); return sval; } in approximate_number_string()
112 if( val < 0.0 ){ strcpy(sval,"-"); } else { sval[0] = '\0'; } in approximate_number_string()
118 sprintf( sval+strlen(sval) , "%d" , qv ) ; in approximate_number_string()
121 sprintf( sval+strlen(sval) , "%.1f" , 0.1*qv ) ; in approximate_number_string()
130 case 1: strcat(sval+strlen(sval)," thousand") ; break ; in approximate_number_string()
131 case 2: strcat(sval+strlen(sval)," million" ) ; break ; in approximate_number_string()
132 case 3: strcat(sval+strlen(sval)," billion" ) ; break ; in approximate_number_string()
133 case 4: strcat(sval+strlen(sval)," trillion") ; break ; in approximate_number_string()
134 case 5: strcat(sval+strlen(sval)," quadrillion [peta]") ; break ; in approximate_number_string()
135 case 6: strcat(sval+strlen(sval)," quintillion [exa]") ; break ; in approximate_number_string()
136 case 7: strcat(sval+strlen(sval)," sextillion [zetta]") ; break ; in approximate_number_string()
137 case 8: strcat(sval+strlen(sval)," septillion [yotta]") ; break ; in approximate_number_string()
138 case 9: strcat(sval+strlen(sval)," octillion") ; break ; in approximate_number_string()
139 case 10: strcat(sval+strlen(sval)," nonillion") ; break ; in approximate_number_string()
140 case 11: strcat(sval+strlen(sval)," decillion") ; break ; in approximate_number_string()
141 case 12: strcat(sval+strlen(sval)," undecillion") ; break ; in approximate_number_string()
142 case 13: strcat(sval+strlen(sval)," duodecillion") ; break ; in approximate_number_string()
143 case 14: strcat(sval+strlen(sval)," tredecillion") ; break ; in approximate_number_string()
144 case 15: strcat(sval+strlen(sval)," quattuordecillion"); break ; in approximate_number_string()
145 case 16: strcat(sval+strlen(sval)," quindecillion") ; break ; in approximate_number_string()
146 case 17: strcat(sval+strlen(sval)," sexdecillion") ; break ; in approximate_number_string()
147 case 18: strcat(sval+strlen(sval)," septendecillion") ; break ; in approximate_number_string()
148 case 19: strcat(sval+strlen(sval)," octodecillion") ; break ; in approximate_number_string()
149 case 20: strcat(sval+strlen(sval)," novemdecillion") ; break ; in approximate_number_string()
150 case 21: strcat(sval+strlen(sval)," vigintillion") ; break ; in approximate_number_string()
151 case 31: strcat(sval+strlen(sval)," trigintillion") ; break ; in approximate_number_string()
152 case 33: strcat(sval+strlen(sval)," duotrigintillion") ; break ; in approximate_number_string()
153 case 101: strcat(sval+strlen(sval)," centillion") ; break ; in approximate_number_string()
155 case -1: strcat(sval+strlen(sval)," thousand-ths") ; break ; in approximate_number_string()
156 case -2: strcat(sval+strlen(sval)," million-ths") ; break ; in approximate_number_string()
157 case -3: strcat(sval+strlen(sval)," billion-ths") ; break ; in approximate_number_string()
158 case -4: strcat(sval+strlen(sval)," trillion-ths [pico]") ; break ; in approximate_number_string()
159 case -5: strcat(sval+strlen(sval)," quadrillion-ths [femto]"); break ; in approximate_number_string()
160 case -6: strcat(sval+strlen(sval)," quintillion-ths [atto]") ; break ; in approximate_number_string()
161 case -7: strcat(sval+strlen(sval)," sextillion-ths [zepto]") ; break ; in approximate_number_string()
162 case -8: strcat(sval+strlen(sval)," septillion-ths [yocto]") ; break ; in approximate_number_string()
163 case -9: strcat(sval+strlen(sval)," octillion-ths") ; break ; in approximate_number_string()
164 case -10: strcat(sval+strlen(sval)," nonillion-ths") ; break ; in approximate_number_string()
165 case -11: strcat(sval+strlen(sval)," decillion-ths") ; break ; in approximate_number_string()
166 case -12: strcat(sval+strlen(sval)," undecillion-ths") ; break ; in approximate_number_string()
167 case -13: strcat(sval+strlen(sval)," duodecillion-ths") ; break ; in approximate_number_string()
168 case -14: strcat(sval+strlen(sval)," tredecillion-ths") ; break ; in approximate_number_string()
169 case -15: strcat(sval+strlen(sval)," quattuordecillion-ths") ; break ; in approximate_number_string()
170 case -16: strcat(sval+strlen(sval)," quindecillion-ths") ; break ; in approximate_number_string()
171 case -17: strcat(sval+strlen(sval)," sexdecillion-ths") ; break ; in approximate_number_string()
172 case -18: strcat(sval+strlen(sval)," septendecillion-ths") ; break ; in approximate_number_string()
173 case -19: strcat(sval+strlen(sval)," octodecillion-ths") ; break ; in approximate_number_string()
174 case -20: strcat(sval+strlen(sval)," novemdecillion-ths") ; break ; in approximate_number_string()
175 case -21: strcat(sval+strlen(sval)," vigintillion-ths") ; break ; in approximate_number_string()
176 case -31: strcat(sval+strlen(sval)," trigintillion-ths") ; break ; in approximate_number_string()
177 case -33: strcat(sval+strlen(sval)," duotrigintillion-ths") ; break ; in approximate_number_string()
178 case -101: strcat(sval+strlen(sval)," centillion-ths") ; break ; in approximate_number_string()
181 strcat(sval+strlen(sval)," GAZILLION") ; in approximate_number_string()
182 if( lv < 0 ) strcat(sval+strlen(sval),"-ths") ; in approximate_number_string()
186 return (char *)sval ; in approximate_number_string()