Abstract "int" is not a good decision for the type of a set of flags.
Also the separate value `haveDoubleSupport` will be useful.