Web GMP

Torbjorn Granlund tg at swox.com
Mon Sep 15 23:21:43 CEST 2008


rodolfo merino <rmr45472 at yahoo.es> writes:

  Estimated friends:
  
  I use the web, http://gmplib.org/, (Demo 1 -- Integer expressions).
  
  I evalue the expression:
  
  46137349^22+(2*46137349)^22-(2*46137349+1)^22
  
  The result was:
  
  40659123321199772708143646506718445599631847521703980877262444624237620050622933969300652398693881381
  
  39094813695689518101749257496187234787043775391310211936538046425801
  
  Nevertheless the real result is:
  
  Negative and couple.
  
Sorry, I don't understand.

I checked your expression with the demo and the results sure looks
right to me.

If you think there is something wrong, please specify what result you
get and what you expect.

-- 
Torbjörn


More information about the gmp-discuss mailing list