check ("remquo(-1.625, 1.0, &x) puts 1 in x", quo, -1);
check ("remquo(-1.625, 1.0, &x) puts -1 in x", quo, -1);
remquo_test (void){  int quo;  MATHTYPE result;  result = FUNC(remquo) (1.625, 1.0, &quo);  check ("remquo(1.625, 1.0, &x) == -0.375", result, -0.375);  check ("remquo(1.625, 1.0, &x) puts 1 in x", quo, 1);  result = FUNC(remquo) (-1.625, 1.0, &quo);  check ("remquo(-1.625, 1.0, &x) == 0.375", result, 0.375);  check ("remquo(-1.625, 1.0, &x) puts 1 in x", quo, -1);  result = FUNC(remquo) (1.625, -1.0, &quo);  check ("remquo(1.125, -1.0, &x) == 0.125", result, 0.125);  check ("remquo(1.125, -1.0, &x) puts 1 in x", quo, -1);  result = FUNC(remquo) (-1.625, -1.0, &quo);  check ("remquo(-1.125, -1.0, &x) == 0.125", result, 0.125);  check ("remquo(-1.125, -1.0, &x) puts 1 in x", quo, 1);}