manual:chapter6:angles:cmd_tagdms

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
Last revision Both sides next revision
manual:chapter6:angles:cmd_tagdms [2019/10/22 13:27]
jojo1973 Fixed internal link
manual:chapter6:angles:cmd_tagdms [2021/09/16 15:39]
jojo1973 Redone
Line 1: Line 1:
 ==== →∡d ==== ==== →∡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>1</sub>**  |  **→**  |  **∡<sub>1</sub>** +|  **Num**  |  **→**  |  **∡<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**| None  ||+| **Affected by flags**  //None//  || 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 </callout> </callout>
  
 <callout color="orangered" icon="fa fa-comment" title="Description"> <callout color="orangered" icon="fa fa-comment" title="Description">
 ---- ----
-The ''→∡d'' command turns a scalar into an angle measured in degrees / minutes / seconds.+The ''→∡d'' command turns a scalar into an angle measured in degrees / minutes / seconds.
  
 The angle is entered / displayed as a real number in the format **DD.MMSSxxx...** where: The angle is entered / displayed as a real number in the format **DD.MMSSxxx...** where:
Line 28: Line 41:
   * **MM** expresses the number of minutes of arc and ranges from ''00'' to ''59'';   * **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'';   * **SS** expresses the number of seconds of arc and ranges from ''00'' to ''59'';
-  * **xxx...** expresses the fraction of seconds of arc.+  * **xxx...** expresses the remaining fraction of seconds of arc.
      
 When a scalar is converted to an angle in degrees / minutes / seconds no check is performed to ensure that the digits at **MM** and **SS** positions range from ''00'' to ''59''. However addition of ''0'' (or multiplication by ''1'') will return a properly //normalized// angle. When a scalar is converted to an angle in degrees / minutes / seconds no check is performed to ensure that the digits at **MM** and **SS** positions range from ''00'' to ''59''. However addition of ''0'' (or multiplication by ''1'') will return a properly //normalized// angle.
Line 35: Line 48:
 <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.+''→∡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">
 ---- ----
-Conversion of 30.751+To see how normalization works, let's enter an "incorrect" angle:\\ 
 +\\ 
 +**__Input__**
 <code> <code>
-1:                       30.7510 +4:                                       
-…………………………………………………………………………………… +3:                                       
-→∡d+2:                                       
 +1:                                30.751 
 +………………………………………………………………………………………………………… 
 +→∡d                                     
 </code> </code>
-will result in $30° 75^{\prime} 10^{\prime\prime}$.+\\ 
 +**__Output__**
 <code> <code>
-1:                      ∡30.751d +4:                                       
-……………………………………………………………………………………+3:                                       
 +2:                                       
 +1:                              ∡30.751d 
 +………………………………………………………………………………………………………… 
 +                                        
 </code> </code>
-After multiplication by ''1''+\\ 
 +To trigger normalization of the angle $30° 75^{\prime} 10^{\prime\prime}$ it's sufficient to multiply it by ''1'':\\ 
 +\\ 
 +**__Input__**
 <code> <code>
-1:                      ∡30.751d +4:                                       
-…………………………………………………………………………………… +3:                                       
-1 *+2:                                       
 +1:                              ∡30.751d 
 +………………………………………………………………………………………………………… 
 +1 *                                     
 </code> </code>
-the angle is normalized to $31° 15^{\prime} 10^{\prime\prime}$.+\\ 
 +**__Output__**
 <code> <code>
-1:                     ∡31.151.d +4:                                       
-……………………………………………………………………………………+3:                                       
 +2:                                       
 +1:                             ∡31.151.d 
 +………………………………………………………………………………………………………… 
 +                                        
 </code> </code>
 +The normalized angle is $31° 15^{\prime} 10^{\prime\prime}$.
 </callout> </callout>
  
Line 68: Line 103:
 {{page>manual:chapter6:angles&nofooter&noeditbtn&inline}} {{page>manual:chapter6:angles&nofooter&noeditbtn&inline}}
 </callout> </callout>
 +
  • manual/chapter6/angles/cmd_tagdms.txt
  • Last modified: 2021/09/16 15:40
  • by jojo1973