Summary: | wrong calculation of pow(0,-ve numbers).Even kcalc is crashing repeatedly several times on input 0^-5.I am attaching solution patch along with it. | ||
---|---|---|---|
Product: | [Applications] kcalc | Reporter: | Raushan Kumar <kraushanp> |
Component: | general | Assignee: | Evan Teran <evan.teran> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 2.13 | ||
Target Milestone: | --- | ||
Platform: | Mint (Ubuntu based) | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Just added one check condition for 0^0 and 0^(-ve number) .Its working fine
patch patch . adding just one condition in power function |
Description
Raushan Kumar
2014-02-03 18:29:24 UTC
Created attachment 84970 [details]
Just added one check condition for 0^0 and 0^(-ve number) .Its working fine
Created attachment 84971 [details]
patch
Created attachment 84972 [details]
patch . adding just one condition in power function
Its working fine after building it.No further crashes.
Patch (with some minor cosmetic alterations) applied. Thanks! thank you very much!!! :D |