ir: Add _double field to Constant.
semantic: Rewrite fitsInPrimitive.
parser: 64 bit compile fix.