Summary: | with fractionary exponents sometimes the correct domain is not calculated | ||
---|---|---|---|
Product: | [Frameworks and Libraries] analitza | Reporter: | Riccardo Iaconelli <riccardo> |
Component: | analitzaplot | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol, hena18, percy.camilo.ta |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/analitza/fde6bdfb0114d384c1ad258fd351f4558ea63e09 | Version Fixed In: | 4.12 |
Description
Riccardo Iaconelli
2010-03-22 19:21:40 UTC
Well, this is happening because std::power is returning nan, I'll have to investigate better why. Thanks for the report :) And it's returning that because there's some imaginary part, of course... I guess we'll have to wait until we support imaginary numbers to support such feature On Sunday 02 May 2010 05:44:32 Aleix Pol wrote:
> And it's returning that because there's some imaginary part, of course...
>
> I guess we'll have to wait until we support imaginary numbers to support
> such feature
Well, there's ALSO an imaginary part, but not just it... So I think that at
least that the real part should be shown... :)
Bye,
-Riccardo
Still to do! Mental note: use complex class when pow(a,b) if a<0 and b is not an integer. I guess the given equation is real for x belongs to (0,2) and for [2,infinity) U (-infinity,0] It will have imaginary components as well . Git commit fde6bdfb0114d384c1ad258fd351f4558ea63e09 by Aleix Pol. Committed on 28/10/2013 at 20:28. Pushed by apol into branch 'master'. Support roots with an imaginary part Related: bug 302813 M +7 -3 analitza/operations.cpp M +5 -3 analitza/tests/analitzatest.cpp http://commits.kde.org/analitza/fde6bdfb0114d384c1ad258fd351f4558ea63e09 |