Is it possible to for me to have an expression
float a, b, d;
a = log(0);
b = 3;
d = a + b + sin(30);
Can we skip evaluation of sin(30) using compiler, since it is known that d
will be -Inf anyway, despite the value of sin(30).
Handcrafted shortcircuitting will result in shotgun surgery changes in many
different place, duplicated swelled code. (Folwer).
I am compiling using gcc.
--
~ Samba, more than a low cost File and Printer server ~
-- Let us OpenSource --
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----