Can GNU-Prolog handle big integer?

Shuai Wang <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <CAEQMQonqwQwDgCx36Eb9Ez8fMpPU98X0C7M1q4uL2S3ToUgOtA@mail.gmail.com>
Hello gnu-prolog users,

I am new to prolog and I just have a quick question..

So basically on my 32bit x64 Linux, It seems that in GNU-Prolog, integer
has only 28bits, so code like below can't be compiled by gplc.

    X is 0xdeadbeef.

After a quick search, I still don't know how to use GNU-Prolog to handle
big integer...

I might be able split a 32bit integer like 0xdeadbeef into two 16bit
integers 0xdead and 0xbeef and concat when necessary, but is there any more
convenient way to do this?


Best Regards,
Shuai

_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.