Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005202OCamlOCaml documentationpublic2011-01-12 01:332011-01-12 18:49
Reporterwilliam 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.12.0 
Target VersionFixed in Version3.12.1+dev 
Summary0005202: bad documentation for atan2
Descriptionthe documentation associated to atan2 is :
"atan x y returns the arc tangent of y /. x. The signs of x and y are used to determine the quadrant of the result. Result is in radians and is between -pi and pi."

But it should be
"atan y x returns the arc tangent of y /. x. The signs of x and y are used to determine the quadrant of the result. Result is in radians and is between -pi and pi."

x and y are swapped !!!!!
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0005764)
william (reporter)
2011-01-12 01:37

also note that "atan2" should be in place of "atan" in the documentation
(0005765)
Christophe Troestler (reporter)
2011-01-12 14:05

FWIW, the documentation is fine in 3.11.2.

- Issue History
Date Modified Username Field Change
2011-01-12 01:33 william New Issue
2011-01-12 01:37 william Note Added: 0005764
2011-01-12 14:05 Christophe Troestler Note Added: 0005765
2011-01-12 18:49 doligez Severity major => minor
2011-01-12 18:49 doligez Status new => closed
2011-01-12 18:49 doligez Resolution open => fixed
2011-01-12 18:49 doligez Fixed in Version => 3.12.1+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker