1HPL_ladd(3) HPL Library Functions HPL_ladd(3)
2
3
4
6 HPL_ladd - Adds two long positive integers.
7
9 #include "hpl.h"
10
11 void HPL_ladd( int * J, int * K, int * I );
12
14 HPL_ladd adds without carry two long positive integers K and J and
15 puts the result into I. The long integers I, J, K are encoded on 64
16 bits using an array of 2 integers. The 32-lower bits are stored in
17 the first entry of each array, the 32-higher bits in the second
18 entry.
19
21 J (local input) int *
22 On entry, J is an integer array of dimension 2 containing the
23 encoded long integer J.
24
25 K (local input) int *
26 On entry, K is an integer array of dimension 2 containing the
27 encoded long integer K.
28
29 I (local output) int *
30 On entry, I is an integer array of dimension 2. On exit, this
31 array contains the encoded long integer result.
32
34 HPL_lmul (3), HPL_setran (3), HPL_xjumpm (3), HPL_jumpit (3),
35 HPL_rand (3).
36
37
38
39HPL 2.2 February 24, 2016 HPL_ladd(3)