This patch implements a TODO.
Currently, the expansion of pow(x, 0.5) always checks for + and - infinity. Instead if x is finite, we could simply transform it to fabs(sqrt(x)).
Patch by Mandeep Singh Grang.
Differential D16833
In finite-only mode, transform pow(x, 0.5) directly to fabs(sqrt(x)). davide on Feb 2 2016, 5:36 PM. Authored by
Details
Diff Detail Event Timeline
Comment Actions Hi Davide, I got busy with other work so did not get time to look into it. Thanks,
|
you are checking the op1, which is the 2nd parameter (e.g. 0.5), but the comments says "If x is finite".