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* name;
|
||||||
char* table;
|
char* table;
|
||||||
char* alias;
|
char* alias;
|
||||||
float fval;
|
double fval;
|
||||||
int64_t ival;
|
int64_t ival;
|
||||||
int64_t ival2;
|
int64_t ival2;
|
||||||
DatetimeField datetimeField;
|
DatetimeField datetimeField;
|
||||||
|
|
|
@ -14,7 +14,7 @@ namespace hsql {
|
||||||
void inprint(int64_t val, uintmax_t numIndent) {
|
void inprint(int64_t val, uintmax_t numIndent) {
|
||||||
std::cout << indent(numIndent).c_str() << val << " " << std::endl;
|
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;
|
std::cout << indent(numIndent).c_str() << val << std::endl;
|
||||||
}
|
}
|
||||||
void inprint(const char* val, uintmax_t numIndent) {
|
void inprint(const char* val, uintmax_t numIndent) {
|
||||||
|
|
Loading…
Reference in New Issue