Bug 130880

Summary: Crash on any function if parameter is infinity
Product: [Applications] kcalc Reporter: Yury Soldak <ysoldak>
Component: generalAssignee: Klaus Niederkrüger <kniederk>
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Yury Soldak 2006-07-15 23:36:32 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

KCalc just crashes if you try to call function like "log" or "sin" on infinity ("inf" on display). To make infinity value just press "1/x" button when display shows "0".

It would be nice to write smth like "error" on display in these cases instead of crashing.
Comment 1 Yury Soldak 2006-07-15 23:39:09 UTC
KCalc version is 2.0.3
Comment 2 Klaus Niederkrüger 2006-07-21 10:30:58 UTC
For me it does not crash, but it always gives (for sin, cos, log, etc.)


So I agree that you are right: There must be an unhandled error. I will have a look.


Comment 3 Klaus Niederkrüger 2006-07-22 11:24:06 UTC
Thanks for the bug report. I just fixed everything for KCalc 2.0.4