@@ -0,0 +1,1003 @@
+package com.github.davidmoten.rtree;%0A%0Aimport java.math.BigDecimal;%0Aimport java.math.MathContext;%0Aimport java.math.RoundingMode;%0A%0Aimport org.junit.Test;%0A%0Apublic class HighPrecisionTest %7B%0A%0A    @Test%0A    public void testForIssue72() %7B%0A        long x = 123456789L;%0A        System.out.println(new BigDecimal(x).floatValue());%0A        BigDecimal b = new BigDecimal(x);%0A        System.out.println(b.round(FLOOR).floatValue());%0A        System.out.println(b.round(CEILING).floatValue());%0A    %7D%0A%0A    private static final MathContext FLOOR = new MathContext(7, RoundingMode.FLOOR);%0A    private static final MathContext CEILING = new MathContext(7, RoundingMode.CEILING);%0A%0A    private static float floor(long x) %7B%0A        return new BigDecimal(x).round(FLOOR).floatValue();%0A    %7D%0A%0A    private static float ceil(long x) %7B%0A        return new BigDecimal(x).round(CEILING).floatValue();%0A    %7D%0A%0A    private static boolean gte(float a, long b) %7B%0A        return new BigDecimal(a).compareTo(new BigDecimal(b)) %3E=0;%0A    %7D%0A%7D%0A

add high precision test