[PPL-devel] Max integer and max tagged integer

Roberto Bagnara bagnara at cs.unipr.it
Fri Apr 23 10:29:29 CEST 2004


Hi there,

I am trying to write some portable code and, in foreign
code, I need to know what is the maximum integer value
that can be passed to PL_put_integer().

Am I correct if I say that the right way to know that
value is by calling

     PL_query(PL_QUERY_MAX_INTEGER)

and that I need not be concerned with the
PL_QUERY_MAX_TAGGED_INT query that is defined a couple
of lines later in SWI-Prolog.h?
Thanks a lot (and keep up the good work),

     Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the PPL-devel mailing list