summaryrefslogtreecommitdiff
path: root/MLKDoubleFloat.h
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-07-29 19:56:21 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-07-29 19:56:21 +0200
commit9c3236394224167b31eeb402fa78928a0e3eb7fe (patch)
treedc76fdd35091dba953e62e1d737701292bb6f26d /MLKDoubleFloat.h
parent5df0d8d27dae228d9568de691ca434194170d1ac (diff)
Add a non-trivial number of arithmetic methods to number classes.
Diffstat (limited to 'MLKDoubleFloat.h')
-rw-r--r--MLKDoubleFloat.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/MLKDoubleFloat.h b/MLKDoubleFloat.h
index deba097..88254ab 100644
--- a/MLKDoubleFloat.h
+++ b/MLKDoubleFloat.h
@@ -49,6 +49,25 @@
-(MLKNumber *) multiplyWith:(MLKNumber *)arg;
-(MLKNumber *) divideBy:(MLKNumber *)arg;
+-(NSComparisonResult) compare:(MLKDoubleFloat *)arg;
+-(BOOL) isEqual:(id)arg;
+
+-(MLKDoubleFloat *) sin;
+-(MLKDoubleFloat *) cos;
+-(MLKDoubleFloat *) tan;
+-(MLKDoubleFloat *) asin;
+-(MLKDoubleFloat *) acos;
+-(MLKDoubleFloat *) atan;
+-(MLKDoubleFloat *) sinh;
+-(MLKDoubleFloat *) cosh;
+-(MLKDoubleFloat *) tanh;
+-(MLKDoubleFloat *) exp;
+-(MLKDoubleFloat *) log;
+-(MLKDoubleFloat *) sqrt;
+-(MLKDoubleFloat *) ceil;
+-(MLKDoubleFloat *) floor;
+-(MLKDoubleFloat *) pow:(MLKDoubleFloat *)exponent;
+
-(NSString *) description;
-(NSString *) descriptionForLisp;
@end