www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3016] New: Errors in the documentation of std.math.acos

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: lio+bugzilla 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: -------
May 21 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3016


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED




--- Comment #1 from Walter Bright <bugzilla digitalmars.com>  2009-07-09
02:50:38 PDT ---
Fixed dmd 1.046 and 2.031

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