mirror of
https://github.com/clang-retro/llvm.git
synced 2026-11-28 13:19:18 -08:00
- Clamp the `-2^(-hi)` exponent when `hi >= 1023` in `expm1` so `hi == 1024` near overflow does not construct `-Inf` and raise a spurious `FE_INVALID` in `exact_add`. - Explicitly quiet `+/-sNaN` and raise `FE_INVALID` in `expm1` and `expm1f`, and use `fputil::round_result_slightly_up(-1.0f)` for large negative finite inputs in `expm1f` so `FE_INEXACT` is raised. - Add smoke tests for `+/-sNaN`, `+/-qNaN`, and near-overflow `expm1` inputs, and sync CMake and Bazel dependencies. Assisted-by: Gemini
LLVM libc ========= This directory and its subdirectories contain source code for llvm-libc, a retargetable implementation of the C standard library. LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.