25 #include "pips_config.h"
46 bool return_status =
false;
50 debug(8,
"interactive_hyperplane_direction",
"Reading h\n");
52 "(give all its integer coordinates on one line): ");
53 if (resp[0] ==
'\0') {
54 user_log(
"Hyperplane loop transformation has been cancelled.\n");
55 return_status =
false;
58 cn = strtok(resp,
" \t");
61 for( i = 0; i<n; i++) {
64 "Hyperplane loop transformation has been cancelled.\n");
65 return_status =
false;
71 "Hyperplane loop transformation has been cancelled.\n");
72 return_status =
false;
75 cn = strtok(NULL,
" \t");
81 "Hyperplane loop transformation has been cancelled.\n");
82 return_status =
false;
87 pips_debug(8,
"Hyperplane direction vector:\n");
88 for( i = 0; i<n; i++) {
void user_log(const char *format,...)
bool interactive_hyperplane_direction(Value *h, int n)
Find out a legal hyperplane direction.
#define pips_debug
these macros use the GNU extensions that allow variadic macros, including with an empty list.
#define pips_assert(what, predicate)
common macros, two flavors depending on NDEBUG
void debug(const int the_expected_debug_level, const char *calling_function_name, const char *a_message_format,...)
ARARGS0.
string user_request(const char *,...)
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...