assertEquals("TANH not working", eval(t, d), Math.tanh(d));
}
}
public void testTRUNC() throws Exception {
TRUNC t = new TRUNC();
assertEquals(eval(t, 8.9, 3), 8.9);
assertEquals(eval(t, 8.9), 8.);
assertEquals(eval(t, -8.9), -8.);
assertEquals(eval(t, Math.PI), 3.);
}