Lines Matching refs:ndigits

251             left_word = (src_i < ndigits) ? digit[src_i] : 0;
280 right_word = (src_i < ndigits) ?
302 left_word = (src_i < ndigits) ?
347 if (ndigits > 2)
349 if (ndigits > 1)
403 for (i = 0; i < ndigits - 1; i++)
464 vec_zero(ndigits, digit);
466 from_uint(ndigits, digit, (uint64) v);
477 vec_zero(ndigits, digit);
480 from_uint(ndigits, digit, v);
491 vec_zero(ndigits, digit);
493 from_uint(ndigits, digit, (unsigned long)v);
504 vec_zero(ndigits, digit);
507 from_uint(ndigits, digit, v);
519 while (std::floor(v) && (i < ndigits)) {
524 vec_zero(i, ndigits, digit);
1013 return add_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1014 v.sgn, v.nbits, v.ndigits, v.digit);
1030 return add_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1048 v.sgn, v.nbits, v.ndigits, v.digit);
1064 return add_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1082 v.sgn, v.nbits, v.ndigits, v.digit);
1130 return mul_unsigned_friend(s, u.nbits, u.ndigits, u.digit,
1131 v.nbits, v.ndigits, v.digit);
1146 return mul_unsigned_friend(s, u.nbits, u.ndigits, u.digit,
1163 v.nbits, v.ndigits, v.digit);
1178 return mul_unsigned_friend(s, u.nbits, u.ndigits, u.digit,
1194 v.nbits, v.ndigits, v.digit);
1224 return div_unsigned_friend(s, u.nbits, u.ndigits, u.digit,
1225 v.nbits, v.ndigits, v.digit);
1242 return div_unsigned_friend(s, u.nbits, u.ndigits, u.digit,
1262 v.nbits, v.ndigits, v.digit);
1279 return div_unsigned_friend(s, u.nbits, u.ndigits, u.digit,
1299 v.nbits, v.ndigits, v.digit);
1327 return mod_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1328 v.nbits, v.ndigits, v.digit);
1343 return mod_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1361 v.nbits, v.ndigits, v.digit);
1376 return mod_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1393 v.nbits, v.ndigits, v.digit);
1418 return and_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1419 v.sgn, v.nbits, v.ndigits, v.digit);
1432 return and_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1447 v.sgn, v.nbits, v.ndigits, v.digit);
1460 return and_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1475 v.sgn, v.nbits, v.ndigits, v.digit);
1504 return or_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1505 v.sgn, v.nbits, v.ndigits, v.digit);
1521 return or_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1539 v.sgn, v.nbits, v.ndigits, v.digit);
1555 return or_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1573 v.sgn, v.nbits, v.ndigits, v.digit);
1603 return xor_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1604 v.sgn, v.nbits, v.ndigits, v.digit);
1620 return xor_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1637 v.sgn, v.nbits, v.ndigits, v.digit);
1653 return xor_unsigned_friend(u.sgn, u.nbits, u.ndigits, u.digit,
1670 v.sgn, v.nbits, v.ndigits, v.digit);
1740 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1741 v.sgn, v.nbits, v.ndigits, v.digit) != 0) {
1753 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1754 v.sgn, v.nbits, v.ndigits, v.digit, 0, 1) != 0) {
1766 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1767 v.sgn, v.nbits, v.ndigits, v.digit, 1, 0) != 0) {
1780 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1795 v.sgn, v.nbits, v.ndigits, v.digit) != 0) {
1806 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1818 v.sgn, v.nbits, v.ndigits, v.digit) != 0)
1830 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1844 v.sgn, v.nbits, v.ndigits, v.digit) != 0)
1854 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1866 v.sgn, v.nbits, v.ndigits, v.digit) != 0)
1901 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1902 v.sgn, v.nbits, v.ndigits, v.digit) < 0) {
1914 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1915 v.sgn, v.nbits, v.ndigits, v.digit, 0, 1) < 0) {
1927 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1928 v.sgn, v.nbits, v.ndigits, v.digit, 1, 0) < 0) {
1941 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1956 v.sgn, v.nbits, v.ndigits, v.digit) < 0) {
1967 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
1980 v.sgn, v.nbits, v.ndigits, v.digit) < 0){
1993 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
2008 v.sgn, v.nbits, v.ndigits, v.digit) < 0) {
2019 if (compare_unsigned(u.sgn, u.nbits, u.ndigits, u.digit,
2032 v.sgn, v.nbits, v.ndigits, v.digit) < 0) {
2175 sc_digit *d = new sc_digit[ndigits];
2178 vec_copy(ndigits, d, digit);
2179 vec_complement(ndigits, d);
2180 trim_unsigned(nbits, ndigits, d);
2182 bool res = check_for_zero(ndigits, d);