On 05/08/10 21:02, Regina Henschel wrote:
I have notice a constraint "SinOverflow" (which is x>=134217728) in
analysishelper.cxx in scaddins. What is the special reason for it?
In other places with sin() the version ::rt::math::sin() is used to get
a guard for overflow. That would result in constraint
x<=9,22337203685478E+018, which is much larger.
If there is no special reason, should I replace it, while I work on the
missing complex trigonometric functions?
The 2^63 limit is there to prevent invalid results (outside of the range
from -1 to 1). The 2^27 limit also prevents inaccurate results, like
Leonard described. Both can be justified. The pragmatic solution, to
avoid breaking any existing usage, might be to keep the separate limit
for the scaddins "complex number" functions, at least for now.
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]