public void test_floatValue() {
BigDecimal fl1 = new BigDecimal("234563782344567");
assertTrue("the float representation of bigDecimal 234563782344567",
fl1.floatValue() == 234563782344567f);
BigDecimal fl2 = new BigDecimal(2.345E37);
assertTrue("the float representation of bigDecimal 2.345E37", fl2
.floatValue() == 2.345E37F);
fl2 = new BigDecimal(-1.00E-44);
assertTrue("the float representation of bigDecimal -1.00E-44", fl2
.floatValue() == -1.00E-44F);
fl2 = new BigDecimal(-3E12);