aboutsummaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin.h b/builtin.h
index ab52d5a..322e82e 100644
--- a/builtin.h
+++ b/builtin.h
@@ -25,7 +25,7 @@ class CompNumObj: public InexactNumObj {
/** Construct a complex number */
CompNumObj(double _real, double _imag);
- /** Try to construct an RealNumObj object
+ /** Try to construct an CompNumObj object
* @return NULL if failed
*/
static CompNumObj *from_string(string repr);
@@ -85,7 +85,7 @@ class RatNumObj: public ExactNumObj {
int a, b;
/** Construct a rational number */
RatNumObj(int _a, int _b);
- /** Try to construct an RealNumObj object
+ /** Try to construct an RatNumObj object
* @return NULL if failed
*/
static RatNumObj *from_string(string repr);