diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-25 01:07:21 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-25 01:07:21 -0600 |
commit | 51c4aaaa21a124abafe3f950e12c3c25ddbe0812 (patch) | |
tree | 29b35d225f3a77e4faf905d45dfce935c7c4e8f6 /include | |
parent | fad36d9324fd13d720bc9366f4de6e968d8b8963 (diff) | |
download | chill-51c4aaaa21a124abafe3f950e12c3c25ddbe0812.tar.gz chill-51c4aaaa21a124abafe3f950e12c3c25ddbe0812.tar.bz2 chill-51c4aaaa21a124abafe3f950e12c3c25ddbe0812.zip |
floating literal fix
Diffstat (limited to 'include')
-rw-r--r-- | include/chillAST/chillASTs.hh | 16 |
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); |