commit | 17017769084cc5700b4b69ee45d9fe1e3c2d5d3f | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Sat Jul 02 20:17:53 2016 -0400 |
committer | Adam Langley <agl@google.com> | Wed Jul 06 22:17:26 2016 +0000 |
tree | b882cbb7a823f64642fbde761d08d1be5d8507f3 | |
parent | 5212ef8b3df9a07f45b6f6ed73b89612f71ea96a [diff] [blame] |
Clarify how Quotient tests do rounding. Change-Id: Ifea17a894065cce607845208c96e2092e4632d61 Reviewed-on: https://boringssl-review.googlesource.com/8607 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/bn/bn_tests.txt b/crypto/bn/bn_tests.txt index 17b7088..1be8848 100644 --- a/crypto/bn/bn_tests.txt +++ b/crypto/bn/bn_tests.txt
@@ -5957,7 +5957,8 @@ # Quotient tests. # -# These test vectors satisfy Quotient = A / B and Remainder = A - B * Quotient. +# These test vectors satisfy Quotient = A / B, rounded towards zero, and +# Remainder = A - B * Quotient. Quotient = 1 Remainder = 0