Add const flag to consts and float scale to double scale.