Since this code is duplicated in both div128 and rem128, should we
perhaps pull this out into a new subroutine? Or is that not worth
the hastle?
-derek
Linas Vepstas <[EMAIL PROTECTED]> writes:
> + gncint128 mu = mult128 (quotient.lo, d);
> +
> + gint64 nn = 0x7fffffffffffffffULL & n.lo;
> + gint64 rr = 0x7fffffffffffffffULL & mu.lo;
> + gint64 rnd = nn - rr;
> + rnd /= d;
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel