]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
Explicitly check if r0 or r1 are NaN, as if they are, on x86 the function evaluates...
authorChris Young <chris@unsatisfactorysoftware.co.uk>
Sat, 5 Jan 2013 21:11:31 +0000 (21:11 +0000)
committerChris Young <chris@unsatisfactorysoftware.co.uk>
Sat, 5 Jan 2013 21:11:31 +0000 (21:11 +0000)
commit3d74422216e1513bf651352a130ad49b9605bbf2
tree7eff8b278a7b25648a3249ee9598a873c46f72c7
parentf30bcdde419565d50974a288c816aad30a412683
Explicitly check if r0 or r1 are NaN, as if they are, on x86 the function evaluates as 0 (which is already handled), but on PPC the function evaluates to a negative value, causing the following for loop to become infinite.
src/svgtiny_gradient.c