aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libmicrohttpd
diff options
context:
space:
mode:
authorGravatar Christopher Dalton <csmartdalton@google.com>2017-06-06 14:26:27 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-06 20:53:16 +0000
commit7f5af0c2832e8a9682aff9521684c27e1368b6ee (patch)
treef70fcef97e18e2d205f125eedd921893a8dc2a84 /third_party/libmicrohttpd
parent5355d87b0783c03a64c305bf3666a4baf2b633e7 (diff)
Use more stable root finding methods for cubics
Applies the quadratic formula from "Numerical Recipes in C", Section 5.6, to the homogeneous quadratic equations that find cubic inflection points and loop intersections. Also addresses KLM orientation ahead of time, rather than negating K and L after the fact. Bug: skia: Change-Id: Ic7e0818e2fe49b7724f9b583bae52281cfb1aea1 Reviewed-on: https://skia-review.googlesource.com/13481 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'third_party/libmicrohttpd')
0 files changed, 0 insertions, 0 deletions