[libc-commits] [PATCH] D150849: [libc] Extend IntegerToString to convert UInt* numbers to hex string.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu May 18 01:30:08 PDT 2023


sivachandra created this revision.
sivachandra added reviewers: michaelrj, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.

This new functionality will help us avoid duplicated code in various
places in the testing infrastructure. Since the string representation
of the wide numbers is to be used by tests, to keep it simple, we
zero-pad the strings.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150849

Files:
  libc/src/__support/integer_to_string.h
  libc/test/src/__support/integer_to_string_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150849.523293.patch
Type: text/x-patch
Size: 4792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230518/dbe236e5/attachment.bin>


More information about the libc-commits mailing list