Demo 1 did not work.

Paul Zimmermann Paul.Zimmermann at loria.fr
Sat Feb 14 10:18:56 CET 2009


> From: Torbjorn Granlund <tg at swox.com>
> Date: Sat, 14 Feb 2009 09:06:41 +0100
> 
> Charles Pergiel <c.pergiel at gmail.com> writes:
> 
>   <h4>On your web page: http://gmplib.org/</h4><h4>Under the heading: Demo 1 -- Integer expressions</h4>I tried this expression (2 ^ (3+3) ^ (3 &minus; 2))and got no result.
>   Charles PergielHillsboro, Oregonhttp://www.pergelator.blogspot.com
> 
> The demo is not very nice with bad input, and will typically just
> generate an (almost) empty page.  Probably it didn't understand the
> syntax you used.
> 
> -- 
> Torbjörn

on my side I get:

   The result of executing (2 ^(3+3) ^ (3 - 2)) is:

   computation took 0 ms
   output conversion took 0 ms
   64

(note that the result is at the very end).

Paul Zimmermann


More information about the gmp-discuss mailing list