Summary: | sin and cos function aren't working | ||
---|---|---|---|
Product: | [Applications] kcalc | Reporter: | Salvo "LtWorf" Tomaselli <tiposchi> |
Component: | general | Assignee: | Klaus Niederkrüger <kniederk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | david, philip.smith.ucl |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Salvo "LtWorf" Tomaselli
2009-01-25 16:18:56 UTC
It appears that angles in radiants work, but not in deg. I'm not able to reproduce this on a 32-bit system built from trunk. I do not have a 64-bit system for testing. Can you provide steps and results, and more information on your system? Just doing 4+4 ENTER and 30 sin will result 8. What kind of additional information you need? SVN commit 919386 by brandybuck: BUG: 181875 kcalc was not initializing the angle mode. This caused the trig functions to be noops. The fix was to save/restore the angle mode as a configuration item. The angle mode is now initialized from the config. Also did the same for the numeric base. M +23 -9 kcalc.cpp M +6 -5 kcalc.h M +8 -0 kcalc.kcfg M +1 -3 kcalc_settings.kcfgc WebSVN link: http://websvn.kde.org/?view=rev&revision=919386 |