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: bugzi...@digitalmars.com
        ReportedBy: lio+bugzi...@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: -------

Reply via email to