26#if defined (HAVE_CONFIG_H)
39#if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)
40# pragma GCC diagnostic ignored "-Wsign-compare"
41# pragma GCC diagnostic ignored "-Wtype-limits"
47 return INT_MULTIPLY_WRAPV (a, b, r);
53 return INT_MULTIPLY_WRAPV (a, b, r);
56#if defined (OCTAVE_HAVE_LONG_LONG_INT)
58octave_lli_multiply_overflow_wrapper (
long long int a,
long long int b,
61 return INT_MULTIPLY_WRAPV (a, b, r);
69 return INT_MULTIPLY_WRAPV (a, b, r);
76 return INT_MULTIPLY_WRAPV (a, b, r);
79#if defined (OCTAVE_HAVE_UNSIGNED_LONG_LONG_INT)
81octave_ulli_multiply_overflow_wrapper (
unsigned long long int a,
82 unsigned long long int b,
83 unsigned long long int *r)
85 return INT_MULTIPLY_WRAPV (a, b, r);
int octave_i_multiply_overflow_wrapper(int a, int b, int *r)
int octave_li_multiply_overflow_wrapper(long int a, long int b, long int *r)
int octave_uli_multiply_overflow_wrapper(unsigned long int a, unsigned long int b, unsigned long int *r)
int octave_ui_multiply_overflow_wrapper(unsigned int a, unsigned int b, unsigned int *r)