Lines Matching refs:rvb

341 	Bigint *ab, *bb, *bb1, *bd, *bd0, *bs, *delta, *rvb, *rvb0;  local
352 rvb = 0;
383 irv = gethex(&s, fpi, expt, &rvb, sign, loc);
666 rvb = d2b(dval(&rv), &rve, &rvbits); /* rv = rvb * 2^rve */
667 if (rvb == NULL)
671 rshift(rvb, j);
684 rvb = lshift(rvb, j);
685 if (rvb == NULL)
694 rvb->wds = 0;
695 rvb->x[0] = 0;
700 rvb->x[0] = rvb->wds = rvbits = 1;
703 rshift(rvb, -j);
721 bb = Balloc(rvb->k);
724 Bcopy(bb, rvb);
814 if (rvb->x[i] & ALL_ON)
817 if (j > 1 && lo0bits(rvb->x + i) < j - 1)
820 rvb = set_ones(rvb, rvbits = nbits);
821 if (rvb == NULL)
849 if (denorm && all_on(rvb, rvbits)) {
851 rvb->wds = 1;
852 rvb->x[0] = 1;
866 if (rvb->wds == 1 && rvb->x[0] == 1)
871 rvb = set_ones(rvb, rvbits = nbits);
872 if (rvb == NULL)
878 if ((bbbits < nbits && !denorm) || !(rvb->x[0] & 1))
881 rvb = increment(rvb);
882 if (rvb == NULL)
885 if (hi0bits(rvb->x[rvb->wds - 1]) != j)
892 decrement(rvb);
906 rvb->wds = 0;
947 rvb = lshift(rvb, j = nbits - rvbits);
948 if (rvb == NULL)
963 rvb0 = rvb;
966 j = hi0bits(rvb->x[rvb->wds-1]);
967 rvb = diff(rvb, ab);
968 if (rvb == NULL)
973 else if (rvb->wds <= k
974 || hi0bits( rvb->x[k]) >
982 rvb = lshift(rvb, 1);
983 if (rvb == NULL)
992 rvb = sum(rvb, ab);
993 if (rvb == NULL)
995 k = rvb->wds - 1;
997 || hi0bits(rvb->x[k]) < hi0bits(rvb0->x[k])) {
1003 rshift(rvb, 1);
1031 bb0 = denorm ? 0 : trailz(rvb);
1039 rvb = lshift(rvb, j);
1040 if (rvb == NULL)
1044 rshift(rvb, -j);
1066 Bfree(rvb);
1067 rvb = 0;
1078 rvb->wds = 0;
1091 rvb->wds = 0;
1099 (rvb->wds > 0 ? STRTOG_Denormal : STRTOG_Zero);
1112 if (rvb) {
1113 copybits(bits, nbits, rvb);
1114 Bfree(rvb);