------- Comment #5 from deji_aking at yahoo dot ca  2006-05-06 16:24 -------
(In reply to comment #4)
> 
> Which is faster?  Multiplying and dividing by a literal constant
> directly in your code or a function call to do the trivial work.
> 
Really, I don't know enough about compiler technology to ba able to tell.
Having had to deal with an empirical formulas made of a bunch of trig.
functions (in degrees), i found it much convenient to just use sin_d(angle)
instead of multiplying and diving by literal constants in each and all terms.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27452

Reply via email to