ryu icon indicating copy to clipboard operation
ryu copied to clipboard

Wondering if anyone has a generic_decimal_to_binary implementation?

Open keith-packard opened this issue 3 years ago • 2 comments

I'm looking to support decimal to 80-bit and 128-bit binary so I can finish long double support in picolibc scanf. Before I attempt this myself, I'm wondering if I overlooked an existing implementation here? All I could find is the printf direction converting binary to decimals.

keith-packard avatar Dec 21 '22 21:12 keith-packard

Hi Keith! I'm afraid I don't have an implementation yet. I know how to do it, but not enough time these days.

ulfjack avatar Dec 22 '22 11:12 ulfjack

Thanks for letting me know; maybe I'll find time to play with it someday :-)

keith-packard avatar Dec 22 '22 22:12 keith-packard