manual:chapter6:flags:cmd_deg

This is an old revision of the document!


Synopsis


Set the angle mode flags to degrees

Stack Diagram


Input Stack Output Stack
Level 1 Level 1

Legend

Keyword type Command
Parallel list processing capabilities Group 1 Commands that cannot parallel process
Affected by flags -17 Default angle unit (bit 0)
-18 Default angle unit (bit 1)

Description


The DEG command clears flags –17 and –18, and displays the ∡° annunciator.

In degrees angle mode, real number arguments that represent angles are interpreted as degrees, and real number results that represent angles are expressed in degrees.

Compatibility


DEG is fully equivalent to its userRPL counterpart.

Usage


Input

4:                                      
3:                                      
2:                                      
1:                                    90
…………………………………………………………………………………………………………
DEG SIN                                 


Output

4:                                      
3:                                      
2:                                      
1:                                     1
…………………………………………………………………………………………………………
                                        

Related Commands


Operations with Lists 15 2 NEW

Command Short Description
→LIST Assemble a list from its elements
LIST→ Split a list into its elements
DOLIST Do a procedure with elements of lists CHANGED
DOSUBS Do a procedure on a subset of a list CHANGED
MAP Do a procedure on each element of a list, recursively
MAPLIST→ Do a procedure on each element recursively, return individual elements NEW
STREAM Do a procedure on consecutive elements of a list
ΔLIST First differences on the elements of a list
ΣLIST Sum of all elements in a list CHANGED
ΠLIST Product of all elements in a list CHANGED
ADD Concatenate lists and/or elements CHANGED
SORT Sort elements in a list
REVLIST Reverse the order of elements in a list
ADDROT Add elements to a list, keep only the last N elements NEW
SEQ Assemble a list from results of sequential procedure
  • manual/chapter6/flags/cmd_deg.1633387342.txt.gz
  • Last modified: 2021/10/04 15:42
  • by jojo1973