[libc-commits] [PATCH] D150399: [libc] add options to printf decimal floats

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu May 11 14:22:53 PDT 2023


michaelrj added a comment.

Currently `ryu_long_double_constants` is empty, this is because it's 12 megabytes and arcanist complains when I try to upload it. I can add it for testing purposes, or you can generate it yourself with `ryu_tablegen.py`. It writes to the console so pipe it to a file. You'll also need to set `POW10_ADDITIONAL_BITS_TABLE` to 120, `IDX_SIZE` to 128, and `MID_INT_SIZE` to 320 in `ryu_long_double_constants.h`.

This patch isn't quite done yet, I still need to add an interface for the compile flags, but I wanted to get it out so that other people can review the math and overall design.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150399/new/

https://reviews.llvm.org/D150399



More information about the libc-commits mailing list