ID:               15454
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Math related
 Operating System: Linux Red Hat 7.2
 PHP Version:      4.1.1
 New Comment:

You can use a simple code like this :

$x =
gmp_init("0x00d2d025ec7e1dbb6d778a52394c988594c57b47d7327a3e676d3a5ca7a5af87c4153c80994cf781f6a9d4a2f0e66d04baffb0059853a8937a895f6d17e76950e1");


printf("%s",gmp_strval($x));

If you put " between the big number on gmp_init function, it doesn't
show the value on printf function but, if you remove ", you can see
that or it doesn't shows the correct value or it shows zero.

On my configure line, I added --with-gmp and it compiled all right. 


Previous Comments:
------------------------------------------------------------------------

[2002-02-09 04:41:57] [EMAIL PROTECTED]

Can you post your configure line, and a self-contained sample script?

------------------------------------------------------------------------

[2002-02-08 10:48:58] [EMAIL PROTECTED]

Hi,

     I'm tried to use gmp on php 4.1.1 but, when I added a big number
on the gmp_init function, the function retuned me zero. So, I return
back to 4.0.6 and the gmp_init fuction returned the correct number. 
      I think there is something wrong with gmp on php 4.1.1.
  
         Roberto Samarone Araujo

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15454&edit=1

Reply via email to