question: public void test_LongValueExactFloatPos ( ) { float a = 9223372036854775806.99999F ; BigDecimal aNumber = new BigDecimal ( a ) ; try { aNumber . longValueExact ( ) ; fail ( "java.lang.ArithmeticException isn't thrown after calling longValueExact" ) ; } catch ( java . lang . ArithmeticException ae ) { } }
target:  java.math.BigDecimal#longValueExact() Long value of a positive BigDecimal