[Issue 3016] New: Errors in the documentation of std.math.acos

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 21 23:57:28 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3016

           Summary: Errors in the documentation of std.math.acos
           Product: D
           Version: unspecified
          Platform: All
               URL: http://digitalmars.com/d/1.0/phobos/std_math.html
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: lio+bugzilla at lunesu.com


The doc says "Calculates the arc cosine of x, returning a value ranging from
-π/2 to π/2." which seemed odd and indeed, acos(-1.0) returns π.

The DOC should say:

"Calculates the arc cosine of x, returning a value ranging from 0 to π."

Both the 1.0 and 2.0 docs have the same error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list