Botan  2.8.0
Crypto and TLS for C++11
divide.h
Go to the documentation of this file.
1 /*
2 * Division
3 * (C) 1999-2007 Jack Lloyd
4 *
5 * Botan is released under the Simplified BSD License (see license.txt)
6 */
7 
8 #ifndef BOTAN_DIVISON_ALGORITHM_H_
9 #define BOTAN_DIVISON_ALGORITHM_H_
10 
11 #include <botan/bigint.h>
12 
13 namespace Botan {
14 
15 /**
16 * BigInt Division
17 * @param x an integer
18 * @param y a non-zero integer
19 * @param q will be set to x / y
20 * @param r will be set to x % y
21 */
22 void BOTAN_PUBLIC_API(2,0) divide(const BigInt& x,
23  const BigInt& y,
24  BigInt& q,
25  BigInt& r);
26 
27 }
28 
29 #endif
#define BOTAN_PUBLIC_API(maj, min)
Definition: compiler.h:27
void divide(const BigInt &x, const BigInt &y_arg, BigInt &q, BigInt &r)
Definition: divide.cpp:58
Definition: alg_id.cpp:13