Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== DMS ==== <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Set the angle mode flags to degrees / minutes / seconds </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **** | **→** | **** | | //Level 1// | //→// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | **Keyword type** | [[manual:chapter5:basics#commands|Command]] || | **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] | //Commands that cannot parallel process// | | **Affected by flags** | [[manual:appendix:flags#flags-17-18|-17]] | //Default angle unit (bit 0)// | | ::: | [[manual:appendix:flags#flags-17-18|-18]] | //Default angle unit (bit 1)// | </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- The ''DMS'' command sets flags [[manual:appendix:flags#flags-17-18|–17]] and [[manual:appendix:flags#flags-17-18|–18]], and displays the ''∡d'' annunciator.\\ \\ In ''DMS'' angle mode, real number arguments that represent angles are interpreted as degrees / minutes / seconds, and real number results that represent angles are expressed in degrees / minutes / seconds.\\ \\ An angle in ''DMS'' format is written as a real number in the format **DD.MMSSxxx...** where: * **DD** expresses the number of degrees; * **MM** expresses the number of minutes of arc and ranges from ''00'' to ''59''; * **SS** expresses the number of seconds of arc and ranges from ''00'' to ''59''; * **xxx...** expresses the remaining fraction of seconds of arc. </callout> <callout type="danger" icon="true" title="Compatibility"> ---- ''DMS'' is specific to **newRPL** and has no direct equivalent in **userRPL**. </callout> <callout type="info" icon="true" title="Usage"> ---- **__Input__** <code> 4: 3: 2: 1: 30.1535 ………………………………………………………………………………………………………… DMS SIN </code> \\ **__Output__** <code> 4: 3: 2: 1: 0.503920549537. ………………………………………………………………………………………………………… </code> </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:flags&nofooter&noeditbtn&inline}} </callout> manual/chapter6/flags/cmd_dms.txt Last modified: 2021/10/04 15:58by jojo1973