From 2ec8f26f31d13bf3c3bbda24ea5e1cace6a819a2 Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 5 Aug 2013 23:31:48 +0800 Subject: added support for string --- builtin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'builtin.h') 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); -- cgit v1.2.3