manual:chapter6:angles:cmd_angtodms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:chapter6:angles:cmd_angtodms [2019/11/06 15:36]
jojo1973
manual:chapter6:angles:cmd_angtodms [2021/09/16 02:16] (current)
jojo1973
Line 1: Line 1:
 ==== A→∡d ==== ==== A→∡d ====
----- 
 <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> <callout type="primary" color="" icon="fa fa-book" title="Synopsis">
 ---- ----
Line 9: Line 8:
 ---- ----
 ^  __Input Stack__  ^  ^  __Output Stack__  ^ ^  __Input Stack__  ^  ^  __Output Stack__  ^
-|  **Num**  |  **→**  |  **∡<sub>DMS</sub>** +|  **Num**  |  **→**  |  **∡<sub>dms</sub>** 
-|  **Z**  |  **→**  |  **Z<sub>DMS</sub>** +|  **Z**  |  **→**  |  **Z<sub>dms</sub>** 
-|  **∡**  |  **→**  |  **∡<sub>DMS</sub>** +|  **∡**  |  **→**  |  **∡<sub>dms</sub>** 
-|  **V**  |  **→**  |  **V<sub>DMS</sub>** +|  **V**  |  **→**  |  **V<sub>dms</sub>** 
-|  //Level 1//  |  //→//  |  //Level 1//  | +|  //Level 1//  |  //→//  |  //Level 1//  |
  
 {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}}
  
-|**Type**| [[manual:chapter5:basics#commands|Command]]  || +| **Keyword type**  | [[manual:chapter5:basics#commands|Command]]  || 
-|**Parallel list processing**| [[manual:chapter5:listproc#group-5one-argument-one-result-commands|Group 5]]  ||  +| **Parallel list processing capabilities**  | [[manual:chapter5:listproc#group-5one-argument-one-result-commands|Group 5]]  | //One argument, one result commands//  
-|**Affected by flags**| [[manual:appendix:flags#flag-17-18|-17]] | Angular Mode 1 +| **Affected by flags**  | [[manual:appendix:flags#flags-17-18|-17]]  //Default angle unit (bit 0)//  
-| ::: | [[manual:appendix:flags#flag-17-18|-18]] | Angular Mode 2 |+| ::: | [[manual:appendix:flags#flags-17-18|-18]]  //Default angle unit (bit 1)//  | 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 </callout> </callout>
  
Line 30: Line 42:
  
   * a **scalar**, then the number is interpreted as an angle //in the current angular mode// and converted to degrees / minutes / seconds;   * a **scalar**, then the number is interpreted as an angle //in the current angular mode// and converted to degrees / minutes / seconds;
-  * a **rectangular complex number**, nothing happens; 
   * a **polar complex number**, then the angular component is converted to degrees / minutes / seconds;   * a **polar complex number**, then the angular component is converted to degrees / minutes / seconds;
   * an **angle**, then the angle is converted to degrees / minutes / seconds;   * an **angle**, then the angle is converted to degrees / minutes / seconds;
Line 45: Line 56:
 <callout type="danger" icon="true" title="Compatibility"> <callout type="danger" icon="true" title="Compatibility">
 ---- ----
-This command is new in newRPL and does not exist in userRPL.+''A→∡d'' is specific to **newRPL** and has no direct equivalent in **userRPL**.
 </callout> </callout>
  
 <callout type="info" icon="true" title="Usage"> <callout type="info" icon="true" title="Usage">
 ---- ----
 +**__Input__**
 <code> <code>
-1:  [ #2h ∡20g (1,2) (3,∡5.5°) ] +4:                                       
-…………………………………………………………………………………… +3:                                       
-A→∡d+2:                                       
 +1:          [ #2h ∡20g (1,2) (3,∡5.5°) ] 
 +………………………………………………………………………………………………………… 
 +A→∡d                                    
 </code> </code>
-will result in+\\ 
 +**__Output__**
 <code> <code>
-1:  #2h ∡18d (1,2) (3,∡5.3d) ] +4:                                       
-…………………………………………………………………………………… +3:                                       
 +2:                                       
 +1:          ∡2d ∡18d (1,2) (3,∡5.3d) ] 
 +………………………………………………………………………………………………………… 
 +                                        
 </code> </code>
 </callout> </callout>
Line 67: Line 86:
 {{page>manual:chapter6:angles&nofooter&noeditbtn&inline}} {{page>manual:chapter6:angles&nofooter&noeditbtn&inline}}
 </callout> </callout>
 +
  • manual/chapter6/angles/cmd_angtodms.1573083409.txt.gz
  • Last modified: 2019/11/06 15:36
  • by jojo1973