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

12345678

/barrelfish-2018-10-04/lib/openssl-1.0.0d/demos/sign/
H A DMakefile4 EXAMPLES=sign
8 sign: sign.o
9 $(CC) -o sign sign.o $(LIBS)
15 ./sign
/barrelfish-2018-10-04/lib/tommath/
H A Dbn_mp_cmp.c22 /* compare based on sign */
23 if (a->sign != b->sign) {
24 if (a->sign == MP_NEG) {
32 if (a->sign == MP_NEG) {
H A Dbn_mp_neg.c29 b->sign = (a->sign == MP_ZPOS) ? MP_NEG : MP_ZPOS;
31 b->sign = MP_ZPOS;
H A Dbn_mp_add.c23 /* get sign of both inputs */
24 sa = a->sign;
25 sb = b->sign;
30 /* add their magnitudes, copy the sign */
31 c->sign = sa;
37 /* the sign of the one with the greater magnitude. */
39 c->sign = sb;
42 c->sign = sa;
H A Dbn_mp_sub.c24 sa = a->sign;
25 sb = b->sign;
31 /* and use the sign of the first number. */
32 c->sign = sa;
40 /* Copy the sign from the first */
41 c->sign = sa;
45 /* The result has the *opposite* sign from */
47 c->sign = (sa == MP_ZPOS) ? MP_NEG : MP_ZPOS;
H A Dbn_mp_read_signed_bin.c30 a->sign = MP_ZPOS;
32 a->sign = MP_NEG;
H A Dbn_mp_clamp.c22 * Typically very fast. Also fixes the sign if there
35 /* reset the sign flag if used == 0 */
37 a->sign = MP_ZPOS;
H A Dbn_mp_to_signed_bin.c26 b[0] = (unsigned char) ((a->sign == MP_ZPOS) ? 0 : 1);
/barrelfish-2018-10-04/lib/libc/include/
H A Dfpmath.h43 unsigned int sign :1; member in struct:IEEEf2bits::__anon968
45 unsigned int sign :1;
64 unsigned int sign :1; member in struct:IEEEd2bits::__anon969
69 unsigned int sign :1;
/barrelfish-2018-10-04/include/
H A Dfpmath.h43 unsigned int sign :1; member in struct:IEEEf2bits::__anon76
45 unsigned int sign :1;
64 unsigned int sign :1; member in struct:IEEEd2bits::__anon77
69 unsigned int sign :1;
/barrelfish-2018-10-04/lib/msun/src/
H A Ds_signbit.c39 return (u.bits.sign);
48 return (u.bits.sign);
57 return (u.bits.sign);
H A Ds_fabsl.c41 u.bits.sign = 0;
H A Ds_copysignl.c40 ux.bits.sign = uy.bits.sign;
H A Ds_cbrtf.c36 u_int32_t sign; local
40 sign=hx&0x80000000; /* sign= sign(x) */
41 hx ^=sign;
51 SET_FLOAT_WORD(t,sign|((high&0x7fffffff)/3+B2));
53 SET_FLOAT_WORD(t,sign|(hx/3+B1));
H A Ds_rintl.c59 int ex, sign; local
70 sign = expsign >> 15;
79 x += shift[sign];
80 x -= shift[sign];
83 * If the result is +-0, then it must have the same sign as x, but
84 * the above calculation doesn't always give this. Fix up the sign.
87 return (zero[sign]);
H A Ds_fmax.c49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[0].bits.sign].d);
H A Ds_fmaxf.c49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[0].bits.sign].f);
H A Ds_fmaxl.c51 if (u[0].bits.sign != u[1].bits.sign)
52 return (u[0].bits.sign ? y : x);
H A Ds_fmin.c49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[1].bits.sign].d);
H A Ds_fminf.c49 if (u[0].bits.sign != u[1].bits.sign)
50 return (u[u[1].bits.sign].f);
H A Ds_fminl.c51 if (u[0].bits.sign != u[1].bits.sign)
52 return (u[1].bits.sign ? y : x);
H A De_sqrt.c98 int32_t sign = (int)0x80000000; local
111 if(((ix0&(~sign))|ix1)==0) return x;/* sqrt(+-0) = +-0 */
130 ix0 += ix0 + ((ix1&sign)>>31);
136 ix0 += ix0 + ((ix1&sign)>>31);
148 ix0 += ix0 + ((ix1&sign)>>31);
153 r = sign;
159 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
165 ix0 += ix0 + ((ix1&sign)>>3
[all...]
/barrelfish-2018-10-04/lib/compiler-rt/builtins/
H A Dfloatditf.c28 // All other cases begin by extracting the sign and absolute value of a
29 rep_t sign = 0;
32 sign = signBit;
46 // Insert the sign bit and return
47 return fromRep(result | sign);
H A Dfloatsidf.c32 // All other cases begin by extracting the sign and absolute value of a
33 rep_t sign = 0;
35 sign = signBit;
51 // Insert the sign bit and return
52 return fromRep(result | sign);
H A Dfloatsitf.c28 // All other cases begin by extracting the sign and absolute value of a
29 rep_t sign = 0;
32 sign = signBit;
46 // Insert the sign bit and return
47 return fromRep(result | sign);

Completed in 86 milliseconds

12345678