diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-05 23:31:48 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-05 23:31:48 +0800 |
commit | 2ec8f26f31d13bf3c3bbda24ea5e1cace6a819a2 (patch) | |
tree | f623aaa220efa2993161997729dce9ff03d936ad /builtin.h | |
parent | 5dab7df6830018c5c28ebcc7cc3b242ccad2736b (diff) |
added support for string
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |