tag | line | file | source code |
sign | 5 | include/linux/math_emu.h | char sign; |
sign | 126 | kernel/FPU-emu/errors.c | i, r->sign ? '-' : '+'); |
sign | 133 | kernel/FPU-emu/errors.c | r->sign ? '-' : '+', |
sign | 148 | kernel/FPU-emu/errors.c | FPU_loaded_data.sign ? '-' : '+', |
sign | 345 | kernel/FPU-emu/errors.c | void divide_by_zero(int sign, FPU_REG *dest) |
sign | 352 | kernel/FPU-emu/errors.c | dest->sign = (unsigned char)sign; |
sign | 367 | kernel/FPU-emu/errors.c | char sign; |
sign | 369 | kernel/FPU-emu/errors.c | sign = dest->sign; |
sign | 371 | kernel/FPU-emu/errors.c | dest->sign = sign; |
sign | 34 | kernel/FPU-emu/fpu_aux.c | regs[r].sign = 0; |
sign | 79 | kernel/FPU-emu/fpu_emu.h | *(short *)&((y)->sign) = *(short *)&((x)->sign); \ |
sign | 23 | kernel/FPU-emu/fpu_etc.c | FPU_st0_ptr->sign ^= SIGN_POS^SIGN_NEG; |
sign | 34 | kernel/FPU-emu/fpu_etc.c | FPU_st0_ptr->sign = SIGN_POS; |
sign | 50 | kernel/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sign == SIGN_POS) |
sign | 60 | kernel/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sign == SIGN_POS) |
sign | 102 | kernel/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sign == SIGN_NEG) |
sign | 7 | kernel/FPU-emu/fpu_proto.h | extern void divide_by_zero(int sign, struct fpu_reg *dest); |
sign | 59 | kernel/FPU-emu/fpu_trig.c | dest->sign = SIGN_POS; |
sign | 61 | kernel/FPU-emu/fpu_trig.c | { num = -num; dest->sign = SIGN_NEG; } |
sign | 104 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
sign | 130 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
sign | 134 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_NEG; |
sign | 146 | kernel/FPU-emu/fpu_trig.c | char arg_sign = FPU_st0_ptr->sign; |
sign | 154 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
sign | 162 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = (q & 1) ^ arg_sign; |
sign | 175 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = arg_sign; /* restore st(0) */ |
sign | 216 | kernel/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
sign | 220 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
sign | 225 | kernel/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
sign | 226 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
sign | 229 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
sign | 280 | kernel/FPU-emu/fpu_trig.c | if (FPU_st0_ptr->sign == SIGN_NEG) |
sign | 293 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
sign | 299 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
sign | 332 | kernel/FPU-emu/fpu_trig.c | char arg_sign = FPU_st0_ptr->sign; |
sign | 333 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
sign | 345 | kernel/FPU-emu/fpu_trig.c | rv.sign ^= SIGN_POS ^ SIGN_NEG; |
sign | 346 | kernel/FPU-emu/fpu_trig.c | rv.sign ^= arg_sign; |
sign | 358 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = arg_sign; /* restore st(0) */ |
sign | 384 | kernel/FPU-emu/fpu_trig.c | char arg_sign = arg->sign; |
sign | 385 | kernel/FPU-emu/fpu_trig.c | arg->sign = SIGN_POS; |
sign | 397 | kernel/FPU-emu/fpu_trig.c | rv.sign ^= SIGN_POS ^ SIGN_NEG; |
sign | 406 | kernel/FPU-emu/fpu_trig.c | arg->sign = arg_sign; /* restore st(0) */ |
sign | 553 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
sign | 592 | kernel/FPU-emu/fpu_trig.c | divide_by_zero(st1_ptr->sign ^ SIGN_NEG, FPU_st0_ptr); |
sign | 595 | kernel/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_POS ) |
sign | 598 | kernel/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
sign | 599 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp < EXP_BIAS ) sign ^= SIGN_NEG; |
sign | 602 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
sign | 613 | kernel/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->sign == SIGN_NEG) || (st1_tag == TW_Zero) ) |
sign | 617 | kernel/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
sign | 620 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
sign | 626 | kernel/FPU-emu/fpu_trig.c | if ( (FPU_st0_tag == TW_Valid) && (FPU_st0_ptr->sign == SIGN_POS) ) |
sign | 644 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign ^= SIGN_NEG; |
sign | 663 | kernel/FPU-emu/fpu_trig.c | int quadrant = st1_ptr->sign | ((FPU_st0_ptr->sign)<<1); |
sign | 664 | kernel/FPU-emu/fpu_trig.c | st1_ptr->sign = FPU_st0_ptr->sign = SIGN_POS; |
sign | 684 | kernel/FPU-emu/fpu_trig.c | sum.sign ^= SIGN_POS^SIGN_NEG; |
sign | 705 | kernel/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
sign | 710 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
sign | 717 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
sign | 727 | kernel/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
sign | 734 | kernel/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
sign | 736 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
sign | 740 | kernel/FPU-emu/fpu_trig.c | st1_tag = sign; |
sign | 746 | kernel/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
sign | 749 | kernel/FPU-emu/fpu_trig.c | st1_tag = sign; |
sign | 793 | kernel/FPU-emu/fpu_trig.c | st1_ptr->sign ^= FPU_st0_ptr->sign; |
sign | 850 | kernel/FPU-emu/fpu_trig.c | char sign; |
sign | 852 | kernel/FPU-emu/fpu_trig.c | sign = FPU_st0_ptr->sign; |
sign | 854 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
sign | 866 | kernel/FPU-emu/fpu_trig.c | scale = st1_ptr->sign ? -tmp.sigl : tmp.sigl; |
sign | 883 | kernel/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
sign | 884 | kernel/FPU-emu/fpu_trig.c | if ( sign == SIGN_POS ) |
sign | 888 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
sign | 899 | kernel/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_NEG ) |
sign | 909 | kernel/FPU-emu/fpu_trig.c | if ( ((st1_tag == TW_Infinity) && (st1_ptr->sign == SIGN_POS)) |
sign | 62 | kernel/FPU-emu/poly_2xm1.c | if ( arg->sign != SIGN_POS ) /* Can't hack a number < 0.0 */ |
sign | 83 | kernel/FPU-emu/poly_2xm1.c | *(short *)&(accum.sign) = 0; /* will be a valid positive nr with expon = 0 */ |
sign | 58 | kernel/FPU-emu/poly_atan.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
sign | 141 | kernel/FPU-emu/poly_atan.c | *(short *)&(pos_poly.sign) = 0; |
sign | 151 | kernel/FPU-emu/poly_atan.c | *(short *)&(neg_poly.sign) = 0; |
sign | 168 | kernel/FPU-emu/poly_atan.c | *(short *)&(even_poly.sign) = 0; |
sign | 61 | kernel/FPU-emu/poly_l2.c | accum.sign = 1; /* sign to negative */ |
sign | 67 | kernel/FPU-emu/poly_l2.c | accum.sign = 0; /* set the sign to positive */ |
sign | 100 | kernel/FPU-emu/poly_l2.c | char sign; |
sign | 102 | kernel/FPU-emu/poly_l2.c | sign = accum.sign; |
sign | 103 | kernel/FPU-emu/poly_l2.c | accum.sign = 0; |
sign | 117 | kernel/FPU-emu/poly_l2.c | num.sign = 0; /* set the sign to positive */ |
sign | 119 | kernel/FPU-emu/poly_l2.c | if ( sign ) |
sign | 133 | kernel/FPU-emu/poly_l2.c | denom.sign = SIGN_POS; /* set the sign to positive */ |
sign | 145 | kernel/FPU-emu/poly_l2.c | result->sign = sign; |
sign | 166 | kernel/FPU-emu/poly_l2.c | if ( exponent && ((exponent < 0) ^ (accum.sign)) ) |
sign | 170 | kernel/FPU-emu/poly_l2.c | accum.sign = !accum.sign; |
sign | 226 | kernel/FPU-emu/poly_l2.c | char sign = 0; |
sign | 231 | kernel/FPU-emu/poly_l2.c | sign = arg->sign; |
sign | 235 | kernel/FPU-emu/poly_l2.c | if ( (arg_pl1.sign) | (arg_pl1.tag) ) |
sign | 242 | kernel/FPU-emu/poly_l2.c | local_arg.sign = 0; /* Make the sign positive */ |
sign | 270 | kernel/FPU-emu/poly_l2.c | accum.sign = SIGN_POS; /* and make accum positive */ |
sign | 284 | kernel/FPU-emu/poly_l2.c | result->sign = sign; |
sign | 57 | kernel/FPU-emu/poly_sin.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
sign | 92 | kernel/FPU-emu/poly_sin.c | *(short *)&(accum.sign) = 0; |
sign | 99 | kernel/FPU-emu/poly_sin.c | *(short *)&(negaccum.sign) = 0; |
sign | 113 | kernel/FPU-emu/poly_sin.c | *(short *)&(result->sign) = *(short *)&(accum.sign); |
sign | 94 | kernel/FPU-emu/poly_tan.c | if ( arg->sign != 0 ) /* Can't hack a number < 0.0 */ |
sign | 110 | kernel/FPU-emu/poly_tan.c | *(short *)&(pos_poly.sign) = 0; |
sign | 117 | kernel/FPU-emu/poly_tan.c | *(short *)&(neg_poly.sign) = 0; |
sign | 139 | kernel/FPU-emu/poly_tan.c | *(short *)&(pos_poly.sign) = 0; |
sign | 148 | kernel/FPU-emu/poly_tan.c | *(short *)&(neg_poly.sign) = 0; |
sign | 159 | kernel/FPU-emu/poly_tan.c | *(short *)&(argSq.sign) = 0; |
sign | 31 | kernel/FPU-emu/reg_add_sub.c | if (!(a->sign ^ b->sign)) |
sign | 35 | kernel/FPU-emu/reg_add_sub.c | dest->sign = a->sign; |
sign | 55 | kernel/FPU-emu/reg_add_sub.c | dest->sign = a->sign; |
sign | 61 | kernel/FPU-emu/reg_add_sub.c | dest->sign = ((control_word & CW_RC) != RC_DOWN) |
sign | 67 | kernel/FPU-emu/reg_add_sub.c | dest->sign = b->sign; |
sign | 79 | kernel/FPU-emu/reg_add_sub.c | char different_signs = a->sign ^ b->sign; |
sign | 86 | kernel/FPU-emu/reg_add_sub.c | dest->sign = ((control_word & CW_RC) != RC_DOWN) |
sign | 101 | kernel/FPU-emu/reg_add_sub.c | if (a->sign == b->sign) |
sign | 135 | kernel/FPU-emu/reg_add_sub.c | switch (a->sign*2 + b->sign) |
sign | 142 | kernel/FPU-emu/reg_add_sub.c | dest->sign = a->sign; |
sign | 148 | kernel/FPU-emu/reg_add_sub.c | dest->sign = ((control_word & CW_RC) != RC_DOWN) |
sign | 154 | kernel/FPU-emu/reg_add_sub.c | dest->sign = a->sign ^ SIGN_POS^SIGN_NEG; |
sign | 159 | kernel/FPU-emu/reg_add_sub.c | dest->sign = SIGN_POS; |
sign | 163 | kernel/FPU-emu/reg_add_sub.c | dest->sign = SIGN_NEG; |
sign | 175 | kernel/FPU-emu/reg_add_sub.c | char same_signs = !(a->sign ^ b->sign); |
sign | 181 | kernel/FPU-emu/reg_add_sub.c | dest->sign = ((control_word & CW_RC) != RC_DOWN) |
sign | 192 | kernel/FPU-emu/reg_add_sub.c | dest->sign ^= SIGN_POS^SIGN_NEG; |
sign | 199 | kernel/FPU-emu/reg_add_sub.c | if (a->sign == b->sign) |
sign | 207 | kernel/FPU-emu/reg_add_sub.c | dest->sign ^= SIGN_POS^SIGN_NEG; |
sign | 33 | kernel/FPU-emu/reg_compare.c | return (b->sign == SIGN_POS) ? COMP_A_LT_B : COMP_A_GT_B ; |
sign | 40 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B ; |
sign | 48 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B; |
sign | 53 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == b->sign) ? COMP_A_EQ_B : |
sign | 54 | kernel/FPU-emu/reg_compare.c | ((FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B); |
sign | 62 | kernel/FPU-emu/reg_compare.c | return (b->sign == SIGN_POS) ? COMP_A_LT_B : COMP_A_GT_B; |
sign | 88 | kernel/FPU-emu/reg_compare.c | if (FPU_st0_ptr->sign != b->sign) |
sign | 89 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B; |
sign | 100 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B ; |
sign | 102 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_LT_B : COMP_A_GT_B ; |
sign | 63 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_NEG; |
sign | 65 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_POS; |
sign | 116 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_NEG; |
sign | 118 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_POS; |
sign | 148 | kernel/FPU-emu/reg_ld_str.c | int c = FPU_loaded_data.sign; |
sign | 150 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = c; |
sign | 190 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_NEG; |
sign | 192 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_POS; |
sign | 196 | kernel/FPU-emu/reg_ld_str.c | int c = FPU_loaded_data.sign; |
sign | 198 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = c; |
sign | 259 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_POS; |
sign | 263 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_NEG; |
sign | 289 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_POS; |
sign | 293 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_NEG; |
sign | 319 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_POS; |
sign | 323 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = SIGN_NEG; |
sign | 358 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = |
sign | 365 | kernel/FPU-emu/reg_ld_str.c | char sign = FPU_loaded_data.sign; |
sign | 367 | kernel/FPU-emu/reg_ld_str.c | FPU_loaded_data.sign = sign; |
sign | 385 | kernel/FPU-emu/reg_ld_str.c | unsigned short sign = FPU_st0_ptr->sign*0x8000; |
sign | 491 | kernel/FPU-emu/reg_ld_str.c | put_fs_word((unsigned short)e | sign, 4 + (short *) d); |
sign | 638 | kernel/FPU-emu/reg_ld_str.c | if (FPU_st0_ptr->sign) |
sign | 771 | kernel/FPU-emu/reg_ld_str.c | if (FPU_st0_ptr->sign) |
sign | 809 | kernel/FPU-emu/reg_ld_str.c | !((t.sigh == 0x80000000) && (t.sigl == 0) && (t.sign == SIGN_NEG)) ) |
sign | 823 | kernel/FPU-emu/reg_ld_str.c | else if ( t.sign ) |
sign | 864 | kernel/FPU-emu/reg_ld_str.c | !((t.sigl == 0x80000000) && (t.sign == SIGN_NEG))) ) |
sign | 876 | kernel/FPU-emu/reg_ld_str.c | else if ( t.sign ) |
sign | 917 | kernel/FPU-emu/reg_ld_str.c | !((t.sigl == 0x8000) && (t.sign == SIGN_NEG))) ) |
sign | 929 | kernel/FPU-emu/reg_ld_str.c | else if ( t.sign ) |
sign | 949 | kernel/FPU-emu/reg_ld_str.c | unsigned char sign = (FPU_st0_ptr->sign == SIGN_NEG) ? 0x80 : 0; |
sign | 1001 | kernel/FPU-emu/reg_ld_str.c | put_fs_byte(sign,(unsigned char *) d+9); |
sign | 1049 | kernel/FPU-emu/reg_ld_str.c | if (frac_part && r->sign) |
sign | 1056 | kernel/FPU-emu/reg_ld_str.c | if (frac_part && !r->sign) |
sign | 29 | kernel/FPU-emu/reg_mul.c | dest->sign = (a->sign ^ b->sign); |
sign | 63 | kernel/FPU-emu/reg_mul.c | dest->sign = a->sign == b->sign ? SIGN_POS : SIGN_NEG; |
sign | 73 | kernel/FPU-emu/reg_mul.c | dest->sign = a->sign == b->sign ? SIGN_POS : SIGN_NEG; |
sign | 82 | kernel/FPU-emu/reg_mul.c | dest->sign = (a->sign ^ b->sign); |
sign | 70 | kernel/vsprintf.c | char c,sign,tmp[36]; |
sign | 80 | kernel/vsprintf.c | sign='-'; |
sign | 83 | kernel/vsprintf.c | sign=(type&PLUS) ? '+' : ((type&SPACE) ? ' ' : 0); |
sign | 84 | kernel/vsprintf.c | if (sign) size--; |
sign | 98 | kernel/vsprintf.c | if (sign) |
sign | 99 | kernel/vsprintf.c | *str++ = sign; |