- dict[DictEntry("__kw", "iss")]=1;
- dict[DictEntry("__enum", "is")]=1;
+ dict[StatementKey("__kwd", "iss")] = -1;
+ dict[StatementKey("__str", "is")] = -2;
+ dict[StatementKey("__flt", "i")] = -3;
+}
+
+void BinaryWriter::set_float_precision(unsigned fp)
+{
+ if(fp<16 || fp>64 || fp%8)
+ throw invalid_argument("BinaryWriter::set_float_precision");
+ float_precision = fp;
+ Statement fst;
+ fst.keyword = "__flt";
+ fst.args.push_back(float_precision);
+ write_(fst);