summaryrefslogtreecommitdiff
path: root/tests/refmpn.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-03-19 20:56:47 +0100
committerTorbjorn Granlund <tege@gmplib.org>2010-03-19 20:56:47 +0100
commitf9d9bd2637f7a6304c2476ce910020b6645385f9 (patch)
treefb2cb6b44a2ff3573cf9d7af82e446aa2067c82b /tests/refmpn.c
parent41af75d6c6078ee3c1857d96daefae05e02f2710 (diff)
downloadgmp-f9d9bd2637f7a6304c2476ce910020b6645385f9.tar.gz
Test mpn_sublsh2_n.
Diffstat (limited to 'tests/refmpn.c')
-rw-r--r--tests/refmpn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/refmpn.c b/tests/refmpn.c
index 7bc2e2165..9572212ef 100644
--- a/tests/refmpn.c
+++ b/tests/refmpn.c
@@ -650,6 +650,11 @@ refmpn_sublsh1_n (mp_ptr rp, mp_srcptr up, mp_srcptr vp, mp_size_t n)
{
return refmpn_sublsh_n (rp, up, vp, n, 1);
}
+mp_limb_t
+refmpn_sublsh2_n (mp_ptr rp, mp_srcptr up, mp_srcptr vp, mp_size_t n)
+{
+ return refmpn_sublsh_n (rp, up, vp, n, 2);
+}
mp_limb_signed_t
refmpn_rsblsh_n (mp_ptr rp, mp_srcptr up, mp_srcptr vp,