aboutsummaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-05 23:31:48 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-05 23:31:48 +0800
commit2ec8f26f31d13bf3c3bbda24ea5e1cace6a819a2 (patch)
treef623aaa220efa2993161997729dce9ff03d936ad /builtin.h
parent5dab7df6830018c5c28ebcc7cc3b242ccad2736b (diff)
added support for string
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);