diff -r cc8cbabd27cd -r 1e2be40f0cb5 src/cx/utils.h --- a/src/cx/utils.h Sun Nov 20 17:48:42 2022 +0100 +++ b/src/cx/utils.h Sun Nov 20 21:08:36 2022 +0100 @@ -51,9 +51,7 @@ */ #define cx_for_n(varname, n) for (size_t varname = 0 ; (varname) < (n) ; (varname)++) -/* ---------------------- - * cx_szmul() definition. - * ---------------------- */ +// cx_szmul() definition #if (__GNUC__ >= 5 || defined(__clang__)) && !defined(CX_NO_SZMUL_BUILTIN) #define CX_SZMUL_BUILTIN @@ -72,7 +70,7 @@ * otherwise */ #define cx_szmul(a, b, result) __builtin_umul_overflow(a, b, result) -#else /* __WORDSIZE != 32 */ +#else // __WORDSIZE != 32 /** * Alias for \c __builtin_umull_overflow. * @@ -86,9 +84,9 @@ * otherwise */ #define cx_szmul(a, b, result) __builtin_umull_overflow(a, b, result) -#endif /* __WORDSIZE */ +#endif // __WORDSIZE -#else /* no GNUC or clang bultin */ +#else // no GNUC or clang bultin /** * Performs a multiplication of size_t values and checks for overflow. @@ -122,4 +120,4 @@ } #endif -#endif /* UCX_UTILS_H */ +#endif // UCX_UTILS_H