OSDN Git Service

[APIntTest] multiplicativeInverse(): clarify test
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 2 Jul 2019 13:21:17 +0000 (13:21 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 2 Jul 2019 13:21:17 +0000 (13:21 +0000)
commit123cdacd90168d4d8825630d58eb70d112368e16
treee0662ee3c3282c7df7b3567a28ab4f59c2149f95
parent6eae0f89c9641266b9b9df81c62cae57dcf1e339
[APIntTest] multiplicativeInverse(): clarify test

Clarify that multiplicative inverse exists for all odd numbers,
and does not exist for all even numbers (including 0).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364920 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/ADT/APIntTest.cpp