Created attachment 64462 [details]
screenshot of kmplot
Version: unspecified (using KDE 4.4.4)
When typing in cosec(x), kmplot does not recognize cosec(x) and instead sees (cos)ec(x). And so, all cosec-based function is unusable, including cosech, arccosech, arccosec. This problem is still present in latest trunk build as of 08/12/2011, which is where I got the sources.
Steps to Reproduce:
1. Open kmplot
2. type cosec(x)
3. the function will not be recognized by the parser.
the cosec(x) function will not graph due a perceived error in the function, even if I use the equation editor to enter cosec(x).
It should have been the same graph as 1/sin(x)
OS: Linux (i686) release 126.96.36.199-0.2-desktop
Git commit 10174f8bcf30ccc3071e175bd9c26d91bf595b38 by Christoph Feck.
Committed on 13/10/2011 at 00:51.
Pushed by cfeck into branch 'master'.
Fix function table sorting
* fix ordering of trig functions (longest names first), so that
"cos" does not shadow "cosec" etc. functions
* only sort function names for display, otherwise breaks highlighter
M +3 -1 kmplot/equationeditorwidget.cpp
M +8 -9 kmplot/parser.cpp