Searched refs:sign (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libast/sfio/
H A Dsfecvt.c25 char* sfecvt(double dval, int n_digit, int* decpt, int* sign) argument
27 char* sfecvt(dval,n_digit,decpt,sign)
31 int* sign; /* to return sign */
37 return _sfcvt(&dval,buf,sizeof(buf),n_digit,decpt,sign,&len,SFFMT_EFORMAT);
H A Dsffcvt.c25 char *sffcvt(double dval, int n_digit, int* decpt, int* sign) argument
27 char *sffcvt(dval,n_digit,decpt,sign)
31 int* sign; /* to return sign */
37 return _sfcvt(&dval,buf,sizeof(buf),n_digit,decpt,sign,&len,0);
H A Dsfgetd.c37 reg int p, sign, exp; local
43 if((sign = sfgetc(f)) < 0 || (exp = (int)sfgetu(f)) < 0)
73 v = ldexpl(v,(sign&02) ? -exp : exp);
74 if(sign&01)
H A Dsfstrtod.c77 reg int mode, fexp, sign, expsign; local
91 /* get the sign */
92 if((sign = (*s == '-')) || *s == '+')
156 return sign ? -dval : dval;
H A Dsfcvt.c102 int* decpt, int* sign, int* len, int format)
104 char* _sfcvt(vp,buf,size,n_digit,decpt,sign,len,format)
110 int* sign; /* to return sign */
124 *sign = *decpt = 0;
137 *sign = 1;
148 *sign = 1;
167 *sign = 1;
187 *sign = 1;
315 *sign
101 _sfcvt(Void_t* vp, char* buf, size_t size, int n_digit, int* decpt, int* sign, int* len, int format) argument
[all...]
H A Dsfvprintf.c107 int dot, width, precis, sign, decpt; local
1182 &decpt, &sign, &n_s, v);
1188 &decpt, &sign, &n_s, v);
1200 &decpt, &sign, &n_s, v);
1202 sp = endsp = buf+1; /* reserve space for sign */
1217 &decpt, &sign, &n_s, v);
1246 sp = endsp = buf+1; /* reserve space for sign */
1276 /* the e/Exponent separator and sign */
1295 endsp = sp = buf+1; /* save a space for sign */
1333 if(sign)
[all...]
/ast/src/cmd/std/
H A Dseq.sh83 float first=1 incr=1 last n sign=1 epsilon
114 (( incr<0)) && sign=-1
115 (( epsilon = sign*incr*1e-12 ))
116 (( last += sign*epsilon ))
117 (( last *= sign ))
119 for ((n=first; (sign*n) <= last; n+= incr ))
/ast/src/lib/libast/uwin/
H A Dsupport.c64 * returns x with the sign of y.
247 short sign;
296 sign= *px & ~msign ;
318 *px ^= sign;
439 sign, *pt =(unsigned short *) &t ,
444 sign = px[n0] &0x8000; /* sign of x */
490 px[n0] ^= sign;
/ast/src/lib/libast/vmalloc/
H A Dvmtrace.c84 { int sign = ((long)v < 0); local
85 if(sign)
91 if(sign)
/ast/src/lib/libtksh/tcl/
H A DtclDate.c664 int sign; local
673 sign = c == '-' ? -1 : 1;
676 * skip the '-' sign
681 sign = 0;
687 if (sign < 0) {
690 return sign ? tSNUMBER : tUNUMBER;
/ast/src/cmd/re/
H A Ded.c719 register int sign; local
726 sign = 1;
735 a += sign * getnum();
758 sign = -sign;
765 a += sign;
779 a += sign;
789 sign = 1;
791 sign = -sign;
[all...]
/ast/src/cmd/mailx/
H A Dcollect.c497 s = c == 'a' ? state.var.sign : state.var.Sign;
H A Ddata.c458 "sign", &state.var.sign, N, 0,0,
461 X("Read the default value for ${sign} from this file."),
H A Dmailx.h856 char* sign; member in struct:__anon136::__anon147
/ast/src/cmd/ksh93/sh/
H A Dnvtype.c1220 Namval_t *nv_mkinttype(char *name, size_t size, int sign, const char *help, Namdisc_t *ep) argument
1250 if(!sign)

Completed in 54 milliseconds