I noticed that APInt's construct-from-string takes the length of the string, but APFloat does not. Would it make sense to modify APFloat to also take a length? I would imagine that it'd help protect us against malformed string values.