public void FloatColumn(int prec) { var type = "float"; if (prec > 0) { type += $"({prec})"; } CreateTable(type, TestTableCreator.GetBinaryFloatSqlValue()); }
public void FloatColumn(int length) { if (length <= 0) { CreateTable("float", TestTableCreator.GetBinaryDoubleSqlValue()); } else if (length > 24) { CreateTable($"float({length})", TestTableCreator.GetBinaryDoubleSqlValue()); } else { CreateTable($"float({length})", TestTableCreator.GetBinaryFloatSqlValue()); } }
public void Real() { CreateTable("real", TestTableCreator.GetBinaryFloatSqlValue()); }
public void BinaryFloatColumn() { CreateTable("binary_float", TestTableCreator.GetBinaryFloatSqlValue()); }