@Test
    public void testDistance2() {
        final Vector3f target = new Vector3f(5.0f, 4.0f, 6.0f);
        final Vector3f v = new Vector3f(-2.0f, -7.0f, 0.5f);

        assertEquals(14.150971f, target.distance(v), 0.0f);
    }
Verify that distance() doesn't always overflow when distanceSquared >
Float.MAX_VALUE .
jme3-core/src/test/java/com/jme3/math/Vector3fTest.java