radial: Improve documentation and naming
authorAndrea Canciani <ranma42@gmail.com>
Fri, 15 Jul 2011 20:02:01 +0000 (22:02 +0200)
committerAndrea Canciani <ranma42@gmail.com>
Fri, 15 Jul 2011 20:05:11 +0000 (22:05 +0200)
commitc06af104546868ed748c8f771817f5e9ae9a6a2d
treec4e50cbebc8c969feec4f675238d384687887fa9
parente814b50877bf313619fbf777dcab98d39874f8a4
radial: Improve documentation and naming

Add a comment to explain why the tests guarantee that the code always
computes the greatest valid root.

Rename "det" as "discr" to make it match the mathematical name
"discriminant".

Based on a patch by Jeff Muizelaar <jmuizelaar@mozilla.com>.
pixman/pixman-radial-gradient.c