math/: Improve some commentary in the binary-field arithmetic.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000 (20:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 27 Feb 2015 21:18:04 +0000 (21:18 +0000)
commit5a19b5dfdde3f31feef4443442cc1c5c0bad6484
treea2f0b826e42c4cebb7a5e9e2f98bb80fc6fe8e1d
parentc144ab4f7d780f14f8f5c83c72b17a7c54c01150
math/: Improve some commentary in the binary-field arithmetic.

  * Explain why `gfreduce_trace' can safely return its answer as an int.

  * Explain how `gfreduce_quadsolve' actually works.  Also explicitly
    guarantee that its result is deterministic.

  * Explain how the `find' method works in `ec-bin.c'.

There's a little fiddling with braces to fit the new commentary in, but
no significant code change.
math/ec-bin.c
math/gfreduce.c
math/gfreduce.h