[builtins] Avoid using floating point q suffix. NFCI
authorAlex Richardson <alexrichardson@google.com>
Tue, 27 Jun 2023 23:16:16 +0000 (16:16 -0700)
committerAlex Richardson <alexrichardson@google.com>
Tue, 27 Jun 2023 23:54:29 +0000 (16:54 -0700)
commitf05c5c9c2ca15d3e69e320f6ff58288de016cd7b
tree5044bb83c8b7152c222009aa30cbde47c0bbbd81
parent1908820d6de5004964e85608070e7c869fc81eac
[builtins] Avoid using floating point q suffix. NFCI

The q floating point suffix is not supported by all compilers
configurations (e.g. GCC only supports it for some targets), so use a
macro (much like UINT64_C) instead. As this touches almost all lines in
the two tests also run them through clang-format.
compiler-rt/lib/builtins/fp_lib.h
compiler-rt/test/builtins/Unit/floattitf_test.c
compiler-rt/test/builtins/Unit/floatuntitf_test.c