[gnome-calculator/60-split-out-a-backend-library] gcalc: adding default trigonometric functions



commit 5b33ea4ae730c5f4bfac1c5965935efd0bb8f180
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date:   Fri Jan 4 16:49:10 2019 -0600

    gcalc: adding default trigonometric functions

 gcalc/gcalc-gmath-equation-manager.vala | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/gcalc/gcalc-gmath-equation-manager.vala b/gcalc/gcalc-gmath-equation-manager.vala
index 9adcf7cc..77cc5518 100644
--- a/gcalc/gcalc-gmath-equation-manager.vala
+++ b/gcalc/gcalc-gmath-equation-manager.vala
@@ -35,6 +35,14 @@ public class GCalc.GMathEquationManager : Object, MathEquationManager {
     functions.add (new GFunctionCos ());
     functions.add (new GFunctionTan ());
     functions.add (new GFunctionAsin ());
+    functions.add (new GFunctionAcos ());
+    functions.add (new GFunctionAtan ());
+    functions.add (new GFunctionSinh ());
+    functions.add (new GFunctionCosh ());
+    functions.add (new GFunctionTanh ());
+    functions.add (new GFunctionAsinh ());
+    functions.add (new GFunctionAcosh ());
+    functions.add (new GFunctionAtanh ());
   }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]