From: "Thomas R. Corbin" Date: 2001-12-07T06:13:56+09:00 Subject: [ruby-talk:27750] Re: Help! acos, asin - where? Hal E. Fulton wrote: > ----- Original Message ----- > From: Thomas R. Corbin > Newsgroups: comp.lang.ruby > To: ruby-talk ML ; > Sent: Wednesday, December 05, 2001 12:04 PM > Subject: [ruby-talk:27578] Re: Help! acos, asin - where? > > >> > def Math.asin x; atan2 x,sqrt(1-x*x) end >> > def Math.acos x; atan2 sqrt(1-x*x),x end >> >> Thanks! This is great... But shouldn't this be in the Math > module? >> >> Sorry if I'm missing something. >> >> Tom Corbin > > Tom, > > I think this will be in 1.8... you can verify that by > looking at the latest 1.7.x version. > > Hal Cool, thanks everyone for their help. I can't believe how helpful ruby people are, it's just great!