=================================================================== RCS file: /home/cvs/OpenXM_contrib/pari-2.2/doc/Attic/usersch5.tex,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- OpenXM_contrib/pari-2.2/doc/Attic/usersch5.tex 2001/10/02 11:16:58 1.1 +++ OpenXM_contrib/pari-2.2/doc/Attic/usersch5.tex 2002/09/11 07:26:43 1.2 @@ -1,4 +1,4 @@ -% $Id: usersch5.tex,v 1.1 2001/10/02 11:16:58 noro Exp $ +% $Id: usersch5.tex,v 1.2 2002/09/11 07:26:43 noro Exp $ % Copyright (c) 2000 The PARI Group % % This file is part of the PARI/GP documentation @@ -245,11 +245,18 @@ so an error message is issued. \fun{void}{affrr}{GEN x, GEN z} assigns the real \kbd{x} into the real~\kbd{z}. \smallskip -\fun{GEN}{stoi}{long s} creates the PARI integer corresponding to the -long~\kbd{s}. +\fun{GEN}{itor}{GEN x, long prec} assigns the \typ{INT} \kbd{x} into a +\typ{REAL} of length \kbd{prec} and return the latter. \fun{long}{itos}{GEN x} converts the PARI integer \kbd{x} to a C long (if possible, otherwise an error message is issued). + +\fun{GEN}{stoi}{long s} creates the PARI integer corresponding to the +long~\kbd{s}. + +\fun{GEN}{stor}{long s, long prec} assigns the long \kbd{s} into a +\typ{REAL} of length \kbd{prec} and return the latter. + \smallskip \fun{GEN}{mptrunc[z]}{GEN x[, GEN z]} truncates the integer or real~\kbd{x} @@ -497,7 +504,7 @@ integer~\kbd{x}, assigns the quotient to the integer~\ \fun{void}{mulsii}{long s, GEN x, GEN z} assigns the product of the long \kbd{s} and the integer \kbd{x} into the integer~\kbd{z} (essentially -dentical to \kbd{mulsiz} except that \kbd{z} is specifically an integer). +identical to \kbd{mulsiz} except that \kbd{z} is specifically an integer). \section{Level 2 kernel (operations on general PARI objects)} @@ -874,6 +881,6 @@ into~\kbd{x} for the variable number~\kbd{v}. 0~otherwise. \fun{GEN}{gbezout}{GEN x,GEN y, GEN *u,GEN *v} creates the GCD of \kbd{x} -and~\kbd{y}, and puts (the adresses of) objects $u$ and~$v$ such that +and~\kbd{y}, and puts (the addresses of) objects $u$ and~$v$ such that $u\kbd{x}+v\kbd{y}=\gcd(\kbd{x},\kbd{y})$ into \kbd{*u} and~\kbd{*v}. \vfill\eject