@Test
    public void testNormalize() {
        final Vector3f retval = new Vector3f(2.071f, 2.45f, 1.35f).normalize();

        assertNotNull(retval);
        assertEquals(0.5950255f, retval.x, 0.01f);
        assertEquals(0.70391715f, retval.y, 0.0f);
        assertEquals(0.3878727f, 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