store all float values in doubles (#105)
This commit is contained in:
parent
62d162579a
commit
b35fce9977
|
@ -98,7 +98,7 @@ struct Expr {
|
|||
char* name;
|
||||
char* table;
|
||||
char* alias;
|
||||
float fval;
|
||||
double fval;
|
||||
int64_t ival;
|
||||
int64_t ival2;
|
||||
DatetimeField datetimeField;
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace hsql {
|
|||
void inprint(int64_t val, uintmax_t numIndent) {
|
||||
std::cout << indent(numIndent).c_str() << val << " " << std::endl;
|
||||
}
|
||||
void inprint(float val, uintmax_t numIndent) {
|
||||
void inprint(double val, uintmax_t numIndent) {
|
||||
std::cout << indent(numIndent).c_str() << val << std::endl;
|
||||
}
|
||||
void inprint(const char* val, uintmax_t numIndent) {
|
||||
|
|
Loading…
Reference in New Issue