summaryrefslogtreecommitdiff
path: root/include/chillAST/chillASTs.hh
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-25 01:07:21 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-25 01:07:21 -0600
commit51c4aaaa21a124abafe3f950e12c3c25ddbe0812 (patch)
tree29b35d225f3a77e4faf905d45dfce935c7c4e8f6 /include/chillAST/chillASTs.hh
parentfad36d9324fd13d720bc9366f4de6e968d8b8963 (diff)
downloadchill-51c4aaaa21a124abafe3f950e12c3c25ddbe0812.tar.gz
chill-51c4aaaa21a124abafe3f950e12c3c25ddbe0812.tar.bz2
chill-51c4aaaa21a124abafe3f950e12c3c25ddbe0812.zip
floating literal fix
Diffstat (limited to 'include/chillAST/chillASTs.hh')
-rw-r--r--include/chillAST/chillASTs.hh16
1 files changed, 2 insertions, 14 deletions
diff --git a/include/chillAST/chillASTs.hh b/include/chillAST/chillASTs.hh
index 7e32a3a..a84b820 100644
--- a/include/chillAST/chillASTs.hh
+++ b/include/chillAST/chillASTs.hh
@@ -1041,26 +1041,14 @@ class chillAST_FloatingLiteral : public chillAST_Node {
public:
virtual CHILLAST_NODE_TYPE getType(){return CHILLAST_NODE_FLOATINGLITERAL;}
// variables that are special for this type of node
- float value;
- double doublevalue;
- int float0double1;
+ double value;
char *allthedigits; // if not NULL, use this as printable representation
//! Control the precision, float == 1, double == 2
int precision;
// constructors
- chillAST_FloatingLiteral(float val);
-
- chillAST_FloatingLiteral(double val);
-
- chillAST_FloatingLiteral(float val, int pre);
-
- chillAST_FloatingLiteral(double val, int pre);
-
- chillAST_FloatingLiteral(float val, const char *printable);
-
- chillAST_FloatingLiteral(float val, int pre, const char *printable);
+ chillAST_FloatingLiteral(double val, int pre, const char *printable);
chillAST_FloatingLiteral(chillAST_FloatingLiteral *old);