# Differences

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

Both sides previous revision Previous revision Next revision | Previous revision | ||

manual:chapter3:angles [2019/07/25 15:51] claudio [Working with Angles] |
manual:chapter3:angles [2019/07/25 16:09] (current) claudio [Working with Angles] |
||
---|---|---|---|

Line 33: | Line 33: | ||

''∡1.57r ∡50° -'' yields ''∡0.6973r'' | ''∡1.57r ∡50° -'' yields ''∡0.6973r'' | ||

- | ''∡90° ∡45° *'' yields ''4050'' | + | ''∡90° ∡45° *'' yields ''1.2337'' (see below why) |

''∡90° ∡45° /'' yields ''2'' | ''∡90° ∡45° /'' yields ''2'' | ||

Line 49: | Line 49: | ||

* Commands and functions that accept angles as arguments will consider that a real number is an angle expressed in the [[manual:chapter2:interface|current angle mode]]. For example ''90 SIN'' yields ''1'' while the system is in ''DEG'' mode. | * Commands and functions that accept angles as arguments will consider that a real number is an angle expressed in the [[manual:chapter2:interface|current angle mode]]. For example ''90 SIN'' yields ''1'' while the system is in ''DEG'' mode. | ||

- | * For all other operations and commands, including those that don't accept angles as arguments, angles will be converted to radians and become normal real numbers. | + | * For all other operations and commands, including those that don't accept angles as arguments, angles will be converted to radians and become normal real numbers. Notice that radians will be used, regardless of the current angle mode. For example ''90 ∡45° /'' yields ''114.591559'', because the angle is converted to radians (notice that while an angle divided by a number is still an angle, the inverse is not true). |

+ | | ||

+ | * The system is capable of tracking the behavior mentioned above, therefore if an operation results in an angle being forced into radians, commands that accept angles as arguments (like SIN, COS and TAN) will interpret a number as radians, rather than the current angle mode. For example ''90 ∡45° / SIN'' yields ''0.997'' even when the current angle mode is not radians. When operated in the stack: ''90'' then ''∡45°'', then ''/'' will result in ''114.591559'' and now pressing ''SIN'' will yield ''0.9093'' in ''DEG'' mode, because the number will be considered in the current angle mode. | ||