@Test
    public void testDistance() {
        final Vector3f target = new Vector3f(3.86405e+18f, 3.02146e+23f, 0.171875f);
        final Vector3f v = new Vector3f(-2.0f, -1.61503e+19f, 0.171875f);
   
        assertEquals(3.0216215e23f, target.distance(v), 0f);
    }
Verify that distance() doesn't always overflow when distanceSquared >
Float.MAX_VALUE .
jme3-core/src/test/java/com/jme3/math/Vector3fTest.java