Statistiques
| Révision :

root / man / man3 / HPL_ladd.3 @ 1

Historique | Voir | Annoter | Télécharger (1,11 ko)

1
.TH HPL_ladd 3 "September 10, 2008" "HPL 2.0" "HPL Library Functions"
2
.SH NAME
3
HPL_ladd \- Adds two long positive integers.
4
.SH SYNOPSIS
5
\fB\&#include "hpl.h"\fR
6
 
7
\fB\&void\fR
8
\fB\&HPL_ladd(\fR
9
\fB\&int *\fR
10
\fI\&J\fR,
11
\fB\&int *\fR
12
\fI\&K\fR,
13
\fB\&int *\fR
14
\fI\&I\fR
15
\fB\&);\fR
16
.SH DESCRIPTION
17
\fB\&HPL_ladd\fR
18
adds  without carry two long positive integers  K and J  an
19
put the result into I.  The long integers  I, J, K are encoded on 31
20
bits using an array of 2 integers.  The 16-lower bits  are stored  i
21
the  first  entry  of each array,  the 15-higher bits  in the second
22
entry.
23
.SH ARGUMENTS
24
.TP 8
25
J       (local input)           int *
26
On entry, J is an integer array of dimension 2 containing the
27
encoded long integer J.
28
.TP 8
29
K       (local input)           int *
30
On entry, K is an integer array of dimension 2 containing the
31
encoded long integer K.
32
.TP 8
33
I       (local output)          int *
34
On entry, I is an integer array of dimension 2. On exit, this
35
array contains the encoded long integer result.
36
.SH SEE ALSO
37
.BR HPL_lmul \ (3),
38
.BR HPL_setran \ (3),
39
.BR HPL_xjumpm \ (3),
40
.BR HPL_jumpit \ (3),
41
.BR HPL_rand \ (3).