@Test
    public void testSubtractLocal2() {
        final Vector3f target = new Vector3f(12.0f, 8.0f, 5.0f);
        final Vector3f retval = target.subtractLocal(7.0f, 4.0f, -2.0f);

        assertEquals(target, retval);

        assertEquals(5.0f, retval.x, 0.0f);
        assertEquals(4.0f, retval.y, 0.0f);
        assertEquals(7.0f, retval.z, 0.0f);
    }
Verify that distance() doesn't always overflow when distanceSquared >
Float.MAX_VALUE .
jme3-core/src/test/java/com/jme3/math/Vector3fTest.java