May 22, 2009 [Issue 3016] New: Errors in the documentation of std.math.acos | ||||
---|---|---|---|---|
| ||||
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: ------- |
July 09, 2009 [Issue 3016] Errors in the documentation of std.math.acos | ||||
---|---|---|---|---|
| ||||
Posted in reply to lio+bugzilla@lunesu.com | 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: ------- |
Copyright © 1999-2021 by the D Language Foundation