[LLVMdev] Should APFloat's construct-from-string take a string length?

Erick Tryzelaar idadesub at users.sourceforge.net
Tue Aug 11 01:59:55 PDT 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090811/1f19e9a2/attachment.html>


More information about the llvm-dev mailing list