Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KCalc
Commits
c94d3837
Verified
Commit
c94d3837
authored
Sep 15, 2021
by
Antonio Prcela
🏞
Browse files
Add missing arcsin
parent
4555310d
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcalc.cpp
View file @
c94d3837
...
...
@@ -1009,7 +1009,7 @@ void KCalculator::slotSinclicked()
calc_history
->
addFuncToHistory
(
QStringLiteral
(
"sinh"
));
core
.
SinHyp
(
calc_display
->
getAmount
());
}
else
{
calc_history
->
addFuncToHistory
(
QStringLiteral
(
"arcsin"
));
calc_history
->
addFuncToHistory
(
QStringLiteral
(
"arcsin
h
"
));
core
.
AreaSinHyp
(
calc_display
->
getAmount
());
}
}
else
{
...
...
@@ -1028,6 +1028,7 @@ void KCalculator::slotSinclicked()
break
;
}
}
else
{
calc_history
->
addFuncToHistory
(
QStringLiteral
(
"arcsin"
));
switch
(
angle_mode_
)
{
case
DegMode
:
core
.
ArcSinDeg
(
calc_display
->
getAmount
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment