Reporting Bugs

John Wenzel john at worldmapad.com
Sun Jul 23 07:46:38 CEST 2006


This library is awesome! Thank You Thank You Thank You.

I'm writing some PHP code and ran into some precision problems (20 digit
integers are only giving 14 significant digits). A while back, I started
writing some C and PHP functions to multiply, divide, add and subtract
arbitrarily large number strings. Although, I never finished. When I ran
into my current precision problem, I thought, Dang! I wish I would have
finished those. Then I came across the GMP library on the PHP.net site. Cool
- someone else has it all finished!

Not wanting to recompile PHP, and needing only a few basic functions, I'm
just using exec() to interface with the pexpr function for now. Very cool.
Thank You.

I thought I'd send you the PASS/FAIL results for my system. I don't think
the fails will affect my application. The system is an Apple Xserve running
MAC OS 10.2.8 Server. Thanks Again. - John Wenzel

make  check-TESTS
PASS: t-addsub
PASS: t-cmp
PASS: t-mul
PASS: t-mul_i
PASS: t-tdiv
PASS: t-tdiv_ui
PASS: t-fdiv
PASS: t-fdiv_ui
PASS: t-cdiv_ui
FAIL: t-gcd
PASS: t-gcd_ui
FAIL: t-lcm
PASS: dive
PASS: dive_ui
PASS: t-sqrtrem
PASS: convert
PASS: io
PASS: t-inp_str
PASS: logic
PASS: bit
PASS: t-powm
PASS: t-powm_ui
PASS: t-pow
PASS: t-div_2exp
FAIL: reuse
FAIL: t-root
PASS: t-perfsqr
FAIL: t-jac
PASS: t-bin
PASS: t-get_d
PASS: t-get_d_2exp
PASS: t-get_si
PASS: t-set_d
PASS: t-set_si
PASS: t-fac_ui
PASS: t-fib_ui
PASS: t-lucnum_ui
PASS: t-scan
PASS: t-fits
FAIL: t-divis
PASS: t-divis_2exp
FAIL: t-cong
PASS: t-cong_2exp
PASS: t-sizeinbase
PASS: t-set_str
PASS: t-aorsmul
PASS: t-cmp_d
PASS: t-cmp_si
PASS: t-hamdist
PASS: t-oddeven
PASS: t-popcount
PASS: t-set_f
PASS: t-io_raw
PASS: t-import
PASS: t-export
PASS: t-pprime_p
==================================
7 of 56 tests failed
Please report to gmp-bugs at swox.com
==================================



More information about the gmp-bugs mailing list