Thread overview | |||||
---|---|---|---|---|---|
|
October 29, 2011 [Issue 6862] New: std.math: implement toRadians and fromRadians | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-10-29 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: ------- |
October 29, 2011 [Issue 6862] std.math: implement toRadians and fromRadians | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=6862 bearophile_hugs@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs@eml.cc --- Comment #1 from bearophile_hugs@eml.cc 2011-10-29 13:12:30 PDT --- See bug 5900 :-( -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 29, 2011 [Issue 6862] std.math: implement toRadians and fromRadians | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | 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 --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2011-10-29 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: ------- |
Copyright © 1999-2021 by the D Language Foundation