1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
/****************************************************************
* *
* Copyright (c) 2001-2018 Fidelity National Information *
* Services, Inc. and/or its subsidiaries. All rights reserved. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#ifndef EB_MULDIV_H_INCLUDED
#define EB_MULDIV_H_INCLUDED
bool eb_int_mul (int4 v1, int4 u1, int4 p[]);
int4 eb_mul (int4 v[], int4 u[], int4 p[]); /* p = u*v */
bool eb_mvint_div (int4 v, int4 u, int4 q[]);
bool eb_int_div (int4 v1, int4 u1, int4 q[]);
int4 eb_div (int4 x[], int4 y[], int4 q[]); /* q = y/x */
void eb_int_mod (int4 v1, int4 u1, int4 p[]);
#endif
|