chiark / gitweb /
Expose inverse() and use it in quadratic3().
authorSimon Tatham <anakin@pobox.com>
Wed, 16 Apr 2025 06:27:33 +0000 (07:27 +0100)
committerSimon Tatham <anakin@pobox.com>
Wed, 16 Apr 2025 18:30:13 +0000 (19:30 +0100)
commit93652691e445c964135dc56e53f0f06303fccc09
tree6e87b575a8740f436cb9b11074d30dd2fd83c1b1
parentc01ea53e50a45f73f9e8a5f5c9fb9520b3ee03dc
Expose inverse() and use it in quadratic3().

Silly to compute the same multiplicative inverse twice when we want to
divide both b and c by a. And end users might have the same concern.
src/finite.rs