This commit is contained in:
Daniel Reusche 2020-11-19 12:34:58 +01:00 коммит произвёл Henry Corrigan-Gibbs
Родитель 13c2d0ede5
Коммит b9de0de37e
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -35,7 +35,8 @@ extern "C"
* Maximum of supported precision for b-bit integer circuit. Since * Maximum of supported precision for b-bit integer circuit. Since
* every PrioTotalShare_final result entry can hold only one MP_DIGIT, * every PrioTotalShare_final result entry can hold only one MP_DIGIT,
* which is at most ULONG_MAX, ULONG_MAX/(2^BBIT_PREC_MAX-1) will be * which is at most ULONG_MAX, ULONG_MAX/(2^BBIT_PREC_MAX-1) will be
* the maximum number of submissions that can be aggregated. * the maximum number of submissions with maximal precision that can
* be aggregated.
*/ */
#define BBIT_PREC_MAX (int)MIN(sizeof(long) * CHAR_BIT - 12, 42) #define BBIT_PREC_MAX (int)MIN(sizeof(long) * CHAR_BIT - 12, 42)