digitalmars.D.bugs - [Issue 6862] New: std.math: implement toRadians and fromRadians
- d-bugmail puremagic.com (27/27) Oct 29 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6862
- d-bugmail puremagic.com (10/10) Oct 29 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6862
- d-bugmail puremagic.com (12/12) Oct 29 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6862
http://d.puremagic.com/issues/show_bug.cgi?id=6862 Summary: std.math: implement toRadians and fromRadians Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com 13:05:42 PDT --- Simplest case w/o float/real specializations: double toRadians(double degrees) { return degrees * (PI / 180.0); } double fromRadians(double radians) { return radians * (180.0 / PI); } I think this belongs in std.math? The second function could be called 'toDegrees', but I think this name might be a little ambiguous. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 29 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6862 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc See bug 5900 :-( -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 29 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6862 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |DUPLICATE 13:34:29 PDT --- *** This issue has been marked as a duplicate of issue 5900 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 29 2011