is ... IMPOSSIBLE since it multiplies by two the duration of all our computations...
Do you mean that all these catastrophic overheads are no longer
existing in libm-2.18 ?
In this case, please do not read the following sentences,
this is really a good result for "me".
Otherwise - I cannot believe it - but I should mention that
I am just using mathematic libraries as a "beginner" and I do not want to
enter in sophisticated modes of the libm
(no time/money for this) as well as the worldwide company for which
I am working... and I fully disagree on the fact that
"the tradeoff is justified" this is absolutely not true in my case and I do not
use specific rounding modes, just the default options of the libm
and gcc...
Fortunately, till now same results are obtained via libm-2.13 and libm-2.17...
but how can I explain/justify that it needs almost twice as much time?
It is just IMPOSSIBLE/INCREDIBLE!
I think that this will have a *SERIOUS* negative impact on the trust in linux in its ability
to stay competitive/efficient in this kind of computations...
Am I really the only one facing these ugly counterperformances of libm?
So, sorry again if I misunderstood something,
but I also need to automatize the installation of the mentioned
program on several computers without using complicated tricks as backports
and so on... So,what is the best and efficient way to proceed ?
Keep libm-2.13 as long as possible
or avoid any further trigonometric computation on Linux
(and start using an FPGA -for instance - to be more efficient with future versions of libm)?
To be "as constructive as possible",
is there a simple/concrete way to use the right rounding mode (WITHOUT MODIFYING
THE FINAL RESULTS) in gcc with libm-2.18 or libm-2-17 with NO overhead?
Otherwise, this is - in my opinion - really catastrophic for [Debian_]Linux...
Sorry for my comments, as I said I am NOT a specialist in libm nor trigonometric "tricks"
but I cannot hide the fact that I am really disappointed by
this answer if there is no simple solution based on libm-2.17 or libm-2.18...
Many thanks again for the answer...
Still searching for a durable efficient solution,
BB