Kazade/kazmath — pull request #6 by Cloudef (2012-06-10 09:16:51+00:00)
Title: Fix floating point exceptions on zero length vector

- If the vector lengths are zero, the division
will cause floating point exception.

To caught such errors in future, I suggest trapping SIGFPE in tests
and maybe using feenableexcept.