ryu icon indicating copy to clipboard operation
ryu copied to clipboard

Add STL's general formatting for ryu_printf

Open Artoria2e5 opened this issue 5 years ago • 3 comments

This is a very early draft for putting %g in ryu so that printf() writers will find it easier to use it. Current TODOs include:

  • [ ] tests (I haven't even tried building it! There is a near 100% chance something fails.)
  • [ ] java code for table generation

Credits go to @StephanTLavavej for his C++ code.

Artoria2e5 avatar Oct 14 '20 19:10 Artoria2e5

Cool!

ulfjack avatar Oct 15 '20 22:10 ulfjack

I was trying to get more info on your commit, but the link https://reviews.llvm.org/file/data/kb2knv5sxt2jhdfj25ah/PHID-FILE-6wgegsparpeqk3ror2gv/libcxx_include_charconv is broken.

maelh avatar May 01 '21 19:05 maelh

Uh, fine. Try https://reviews.llvm.org/D70631. Thanks for the reminder by the way -- my life is fucked as usual, but maybe I can actually get it rolling sometime.

Artoria2e5 avatar May 02 '21 02:05 Artoria2e5