Post Reply 
newRPL: [UPDATED April 27-2017] Firmware for testing available for download
10-22-2015, 09:26 PM
Post: #81
RE: newRPL: [UPDATED Oct-19-2015] Firmware for testing available for download
We have means to attach the various supported angular units (_deg, _rad, _grad, ...) to values, but this implies that the angular mode is known, which may not be the case in programs unless the program would enforce a particular angular mode or query the current mode.

It would be convenient to have some easy means to attach the *current* angular mode to a value by something like a "generic" angle unit _< which gets automatically replaced by the specific unit according to the currently set angular mode.

Example:

- angular mode is set to DEG
- ASIN returns a unitless value n (in degrees)
- attaching the "generic" angle unit _< to the value n results in n_deg

- angular mode is set to RAD
- ASIN returns a unitless value n (in radians)
- attaching the "generic" angle unit _< to the value n results in n_rad now

etc.

Greetings,

Matthias


--
"Programs are poems for computers."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: [UPDATED Oct-19-2015] Firmware for testing available for download - matthiaspaul - 10-22-2015 09:26 PM



User(s) browsing this thread: 3 Guest(s)