At some point in the next week or two I'm going to remove the ConstantFP::get(type, APFloat) method. Right now, you can immediately fix your code by dropping the first 'type' argument. For example, if you have:
just change it to:
Both forms work with SVN head right now so you can migrate as convenient. The former will stop working in a week or two.