diff --git a/build.vc9/mpir-tests.sln b/build.vc9/mpir-tests.sln index a8fda3bd..13134bba 100644 --- a/build.vc9/mpir-tests.sln +++ b/build.vc9/mpir-tests.sln @@ -742,6 +742,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mpn.tdiv_q", "mpir-tests\mp EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mpz.likely_prime_p", "mpir-tests\mpz.likely_prime_p\mpz.likely_prime_p.vcproj", "{58D4831D-801A-41A5-AA68-418E33BFB6F6}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mpn.invert", "mpir-tests\mpn.invert\mpn.invert.vcproj", "{F5C5FD38-7078-4E9D-AB88-8568689DDEC8}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -1712,6 +1714,14 @@ Global {58D4831D-801A-41A5-AA68-418E33BFB6F6}.Release|Win32.Build.0 = Release|Win32 {58D4831D-801A-41A5-AA68-418E33BFB6F6}.Release|x64.ActiveCfg = Release|x64 {58D4831D-801A-41A5-AA68-418E33BFB6F6}.Release|x64.Build.0 = Release|x64 + {F5C5FD38-7078-4E9D-AB88-8568689DDEC8}.Debug|Win32.ActiveCfg = Debug|Win32 + {F5C5FD38-7078-4E9D-AB88-8568689DDEC8}.Debug|Win32.Build.0 = Debug|Win32 + {F5C5FD38-7078-4E9D-AB88-8568689DDEC8}.Debug|x64.ActiveCfg = Debug|x64 + {F5C5FD38-7078-4E9D-AB88-8568689DDEC8}.Debug|x64.Build.0 = Debug|x64 + {F5C5FD38-7078-4E9D-AB88-8568689DDEC8}.Release|Win32.ActiveCfg = Release|Win32 + {F5C5FD38-7078-4E9D-AB88-8568689DDEC8}.Release|Win32.Build.0 = Release|Win32 + {F5C5FD38-7078-4E9D-AB88-8568689DDEC8}.Release|x64.ActiveCfg = Release|x64 + {F5C5FD38-7078-4E9D-AB88-8568689DDEC8}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/build.vc9/mpir-tests/mpn.invert/mpn.invert.vcproj b/build.vc9/mpir-tests/mpn.invert/mpn.invert.vcproj new file mode 100644 index 00000000..96a04525 --- /dev/null +++ b/build.vc9/mpir-tests/mpn.invert/mpn.invert.vcproj @@ -0,0 +1,327 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mpn/generic/invert.c b/mpn/generic/invert.c index 4ffab6b4..3c73daf5 100644 --- a/mpn/generic/invert.c +++ b/mpn/generic/invert.c @@ -219,6 +219,8 @@ mpn_invert (mp_ptr xp, mp_srcptr ap, mp_size_t n) } } +#ifdef MAIN + int test_invert (mp_ptr xp, mp_srcptr ap, mp_size_t n) { @@ -248,7 +250,6 @@ test_invert (mp_ptr xp, mp_srcptr ap, mp_size_t n) return res; } -#ifdef MAIN #include #include