has_hex_prefix
if (spec.flags & SPECIAL && has_hex_prefix(orig_fmt, old_fmt))
if (spec.base != 16 && has_hex_prefix(orig_fmt, old_fmt))