aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc.h
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2014-10-02 13:02:25 -0700
committerRobert Griesemer <gri@golang.org>2014-10-02 13:02:25 -0700
commit28ddfb090c2824d60e30007cf171b5dc1e8935e2 (patch)
treef87dfd16eb329d48501e74fc671fb4694c11c5fc /src/runtime/malloc.h
parent1dba6eb4645f0528ed1ce5e0dd5a4661afa8bd07 (diff)
downloadgo-28ddfb090c2824d60e30007cf171b5dc1e8935e2.tar.xz
math/big: math.Exp should return result >= 0 for |m| > 0
The documentation states that Exp(x, y, m) computes x**y mod |m| for m != nil && m > 0. In math.big, Mod is the Euclidean modulus, which is always >= 0. Fixes #8822. LGTM=agl, r, rsc R=agl, r, rsc CC=golang-codereviews https://golang.org/cl/145650043
Diffstat (limited to 'src/runtime/malloc.h')
0 files changed, 0 insertions, 0 deletions