On Wed, 24 Sep 2014 17:42:29 +0800 YunQiang Su <wzss...@gmail.com> wrote:
> When building clippoly on mips64el, it failed to build due to failure
> of test 1 and 2.

I think this must be a bug in the Loongson FPU (my guess since the
assertion is related to floating point math). It builds successfully on
all the non-loongson boards I've tried.

On a side note, it might be better to replace the entire function with
the constant time method of finding the intersection of two lines:
https://en.wikipedia.org/wiki/Line%E2%80%93line_intersection#Intersection_of_two_lines

James

Reply via email to