php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #42363 Documentation of atan2 confuses dividend and divisor
Submitted: 2007-08-21 16:26 UTC Modified: 2007-08-22 07:49 UTC
From: weber at search dot ch Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: weber at search dot ch
New email:
PHP Version: OS:

 

 [2007-08-21 16:26 UTC] weber at search dot ch
Description:
------------
In y/x, y is called dividend and x is called divisor. The Parameters section of atan2 has it confused.

Reproduce code:
---------------
http://www.php.net/manual/en/function.atan2.php


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-22 07:49 UTC] rquadling@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of rquadling
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=c83ffcf5cb016e2b3d1704ca0d13b553f241e635
Log: Fix #42363 - swapped x and y parameter names to match their definitions.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 11:00:02 2025 UTC