home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.arch      Apparently more than just beeps & boops      131,241 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 130,534 of 131,241   
   Thomas Koenig to BGB   
   Re: Lessons from the ARM Architecture   
   17 Dec 25 07:59:10   
   
   From: tkoenig@netcologne.de   
      
   BGB  schrieb:   
      
   > double sin(double ang)   
   > {   
   > 	double t, x, th, th2;   
   > 	int i;   
   > 	i=ang*M_TAU_R;   
   > 	th=ang-(i*M_TAU);   
   > 	th2=th*th;   
      
   That leaves a lot of room for improvement; you would be better   
   off reducing to [-pi/4,+pi/4].  See   
   https://userpages.cs.umbc.edu/phatak/645/supl/Ng-ArgReduction.pdf   
   for a random reference grabbed off the net how to do it.   
      
   [...]   
      
   > Time cost: roughly 450 clock cycles (penalties are steep on this one).   
      
   What is your accuracy?   
   --   
   This USENET posting was made without artificial intelligence,   
   artificial impertinence, artificial arrogance, artificial stupidity,   
   artificial flavorings or artificial colorants.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca