Message4719

Author JacobIsrael
Recipients JacobIsrael, zyasoft
Date 2009-05-26.11:23:45
SpamBayes Score 0.0010297672
Marked as misclassified No
Message-id <COL114-W625A96BEED19DA2F792739D0520@phx.gbl>
In-reply-to <1243111327.5.0.610562169653.issue1353@psf.upfronthosting.co.za>
Content
I apologize. I forgot that asin worked in radians. Also, I made my own code to return the correct inverse sin based on the waves upward/downward trend (below).

Thank you,

Mr. Israel

def invSin(number,up):
  result=asin(number) 
  if(up==0): # negative trend correction  
    if(result<0):
      result=-pi-result # -halfPi -(halfPi+result)
    if(result>0):
      result=pi-result # halfPi + (halfPi-result) 
  return result 

.....................

> Subject: [issue1353] asin miscalculation
> To: Americancafe@hotmail.com
> From: report@bugs.jython.org
> Date: Sat, 23 May 2009 20:42:07 +0000
> 
> 
> Jim Baker <zyasoft@users.sourceforge.net> added the comment:
> 
> Can you submit a more detailed report of your environment? On Java 6 on
> OSX, stepping over [-1.0,1.0], asin on Jython 2.5 trunk produces exactly
> the same results as Python 2.5.
> 
> ----------
> nosy: +zyasoft
> resolution: -> works for me
> 
> _______________________________________
> Jython tracker <report@bugs.jython.org>
> <http://bugs.jython.org/issue1353>
> _______________________________________

_________________________________________________________________
Windows Liveā„¢: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009
Files
File name Uploaded
unnamed JacobIsrael, 2009-05-26.11:23:44
History
Date User Action Args
2009-05-26 11:23:45JacobIsraelsetrecipients: + JacobIsrael, zyasoft
2009-05-26 11:23:45JacobIsraellinkissue1353 messages
2009-05-26 11:23:45JacobIsraelcreate