Home
last modified time | relevance | path

Searched refs:n_digit (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfcvt.c102 char* _sfcvt(Void_t* vp, char* buf, size_t size, int n_digit, in _sfcvt() argument
105 char* _sfcvt(vp,buf,size,n_digit,decpt,sign,len,format) in _sfcvt()
109 int n_digit; /* number of digits wanted */
200 if(n_digit <= 0 || n_digit >= (size - 9))
201 n_digit = size - 9;
202 endsp = sp + n_digit + 1;
269 if(n_digit > 0)
270 { if(n_digit > LDBL_DIG)
271 n_digit = LDBL_DIG;
272 n += n_digit;
[all …]
H A Dsffcvt.c25 char *sffcvt(double dval, int n_digit, int* decpt, int* sign) in sffcvt() argument
27 char *sffcvt(dval,n_digit,decpt,sign) in sffcvt()
29 int n_digit; /* number of digits wanted */
37 return _sfcvt(&dval,buf,sizeof(buf),n_digit,decpt,sign,&len,0);
H A Dsfecvt.c25 char* sfecvt(double dval, int n_digit, int* decpt, int* sign) in sfecvt() argument
27 char* sfecvt(dval,n_digit,decpt,sign) in sfecvt()
29 int n_digit; /* number of digits wanted */
37 return _sfcvt(&dval,buf,sizeof(buf),n_digit,decpt,sign,&len,SFFMT_EFORMAT);