View Single Post
  #1  
Old 07-07-2006, 05:25 AM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Where is Arcsin?

Umm... Clientside doesn't have arcsin/arccos function! Why is that?

Temp Solution:

PHP Code:
function arcsin)
  {
  
temp.step 10000;
  for ( 
0abs(i); += temp.step )
    
temp.sum += (/ (j^2)^0.5) * temp.step ;
  return 
temp.sum;
  } 
=] Actually... That's only a rough estimation. To get a more accurate answer, one would have to make the steps an infinitely small size... But there is a loop limit to Graal!

Last edited by Novo; 07-07-2006 at 05:51 AM..
Reply With Quote