platform_bionic/libc/upstream-freebsd
Elliott Hughes c204334b06 Reuse the libm scalbn() as ldexp().
These are the same function for machines with binary floats (that is:
all machines), but ldexp() is in libc rather than libm, so we can't just
use an alias.

We were using this duplicate copy of the code, but upstream FreeBSD has
removed it, and I'd prefer to do the same.

Longer term, we should just move all of libm into libc (but keep an
empty libm for compatibility), but this is probably easier for now.

Test: treehugger
Change-Id: I1a1d6d4f1771316f791ad59c714a3a65aedefc81
2023-07-20 21:05:44 +00:00
..
android/include Sync upstream FreeBSD (qsort). 2023-07-19 14:14:58 -07:00
lib/libc Reuse the libm scalbn() as ldexp(). 2023-07-20 21:05:44 +00:00
.clang-format Fully disable clang format where needed. 2020-01-30 08:10:17 -08:00
README.md Move to .md files for even trivial documentation. 2017-01-07 12:47:28 -08:00

This directory contains upstream FreeBSD source. You should not edit these files directly. Make fixes upstream and then pull down the new version of the file.

TODO: write a script to make this process automated.