Re: standard trig functions for degrees ?

ehm <[email protected]>
Newsgroups gmane.comp.mathematics.maxima.general
Organization University of Missouri
Message-ID <[email protected]>
On Mon, 2026-04-27 at 13:44 -0700, Robert Dodier wrote:
> 
> Well, maybe the code is trivial, but the increased mental burden is
> not ... Instead of creating new functions, I am OK with two
> functions,
> radians(x) to get radians from degrees and degrees(x) to get degrees
> from radians. Then one can call those whenever it makes sense.
> 
> We could make those simplifying functions. Just thinking out loud
> here.
> 
> 

I'm not necessarily in favor of adding new trivial functions, but if
you do, I would suggest names that are completely unambiguous and
symmetric, like rad2deg() and deg2rad(). It would make them easier to
remember.

-Eric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.