testRound1 method

void testRound1()

Implementation

void testRound1(){
  mp = MultiPrec();

  debugPrint( "       UP DOWN CEILING FLOOR H_UP H_DOWN H_EVEN H_DOWN2 H_EVEN2" );
  debugPrint( "5.501  ${round( "5.501" , 0 )}" );
  debugPrint( "5.5    ${round( "5.5"   , 0 )}" );
  debugPrint( "2.501  ${round( "2.501" , 0 )}" );
  debugPrint( "2.5    ${round( "2.5"   , 0 )}" );
  debugPrint( "1.6    ${round( "1.6"   , 0 )}" );
  debugPrint( "1.1    ${round( "1.1"   , 0 )}" );
  debugPrint( "1.0    ${round( "1.0"   , 0 )}" );
  debugPrint( "-1.0   ${round( "-1.0"  , 0 )}" );
  debugPrint( "-1.1   ${round( "-1.1"  , 0 )}" );
  debugPrint( "-1.6   ${round( "-1.6"  , 0 )}" );
  debugPrint( "-2.5   ${round( "-2.5"  , 0 )}" );
  debugPrint( "-2.501 ${round( "-2.501", 0 )}" );
  debugPrint( "-5.5   ${round( "-5.5"  , 0 )}" );
  debugPrint( "-5.501 ${round( "-5.501", 0 )}" );
}