|
Gnu
»
Gnu - GMP
»
Gnu - GMP - Bugs
misleading comment
View:
Threaded
Chronologically
All Messages
New views
1 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
misleading comment
by Jason Moxham
:: Rate this Message:
Reply to Author
|
View Threaded
|
Show Only this Message
in gmp-impl.h we have
/* Like udiv_qrnnd_preinv2, but for for any value D. DNORM is D shifted left
so that its most significant bit is set. LGUP is ceil(log2(D)). */
#define udiv_qrnnd_preinv2gen(q, r, nh, nl, d, di, dnorm, lgup)
Surely lgup should be floor(log2(D))+1
_______________________________________________
gmp-bugs mailing list
gmp-bugs@...
http://gmplib.org/mailman/listinfo/gmp-bugs
Free embeddable forum
powered by
Nabble
Forum Help