Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How can I get sine, cosine, and tangent to return values in degrees?

by stefan k (Curate)
on Dec 22, 2002 at 16:33 UTC ( [id://221744]=note: print w/replies, xml ) Need Help??


in reply to How can I get sine, cosine, and tangent to return values in degrees?

This isn't really an answer, it's more adding a wish to the question (and not knowing how to remove the "Answer:" in the subject)...

I'd really consider it nice and usefull if you could just type something along

use Math::Trig::Degree;
and the have the named functions considering their input values as measured in deg (rad, grad resp.).

Just a thought...

Originally posted as a Categorized Answer.

  • Comment on Re: How can I get sine, cosine, and tangent to return values in degrees?
  • Download Code

Replies are listed 'Best First'.
Re: Re: How can I get sine, cosine, and tangent to return values in degrees?
by tachyon (Chancellor) on Dec 23, 2002 at 07:38 UTC

    Just uploaded Math::Trig::Degree which will do degrees and radians as you desire. It will take a few hours to appear in the indexing.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://221744]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-29 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found