jk-jeon / fp

IEEE-754 binary-to-decimal and decimal-to-binary conversion library
40 stars 5 forks source link

Current TODO list #1

Open jk-jeon opened 4 years ago

jk-jeon commented 4 years ago
sirinath commented 3 years ago

Looking to see how things are progressing.

sirinath commented 3 years ago

I think the following items to be priority items in priority order:

  1. Implement fixed-point/general formatting routines.
  2. Correctly implement policies. Implement an interface of to_binary_limited_precision and ryu_printf specialized for the usage in unlimited-precision parsing. (Avoid needless packing into/extracting from IEEE-754 formats.)
  3. Turn from_chars_unlimited_precision into one-pass for limited precision, two-pass for unlimited precision.
  4. Optimize from_chars_limited_precision and from_chars_unlimited_precision.
  5. Think of an algorithm for fixed-precision binary-to-decimal conversion that use fewer amount of static data; it is desirable to make it less than 10KB. (Currently, it is possible to get about 26KB by tweaking Ryu-printf a bit.)
  6. Write documents on algorithm/implementation.
  7. Write documents on API.