|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33122 gmp_div_q calculate error
Submitted: 2005-05-24 11:15 UTC Modified: 2005-05-24 12:34 UTC
From: ttalu at neti dot ee Assigned:
Status: Not a bug Package: Math related
PHP Version: 4.3.10 OS: Unix
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ttalu at neti dot ee
New email:
PHP Version: OS:


 [2005-05-24 11:15 UTC] ttalu at neti dot ee
gmp_div_q function do not give expected result

Reproduce code:
$iteration_count = gmp_div_q($c1,$columns, GMP_ROUND_PLUSINF);
echo $iteration_count;

Expected result:

Actual result:
Resource id #2


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-24 11:18 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

resource gmp_div_q ( resource a, resource b [, int round] )
 [2005-05-24 11:37 UTC] ttalu at neti dot ee
My mistake...
 [2005-05-24 12:34 UTC]
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 22:01:28 2024 UTC