Return early if exp==0 to avid bits(x) construction.
Unlikely 2 conditions and update math.rst.
Paths
| Differential D143291
Add scalbn implementation and unit tests. AbandonedPublic Authored by renyichen on Feb 3 2023, 12:28 PM.
Details
Summary Return early if exp==0 to avid bits(x) construction. Unlikely 2 conditions and update math.rst.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 3 2023, 12:28 PM
Revision Contents
Diff 494705 libc/config/darwin/arm/entrypoints.txt
libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/x86_64/entrypoints.txt
libc/config/windows/entrypoints.txt
libc/docs/math.rst
libc/spec/stdc.td
libc/src/__support/FPUtil/ManipulationFunctions.h
libc/src/math/CMakeLists.txt
libc/src/math/generic/CMakeLists.txt
libc/src/math/generic/scalbn.cpp
libc/src/math/generic/scalbnf.cpp
libc/src/math/generic/scalbnl.cpp
libc/src/math/scalbn.h
libc/src/math/scalbnf.h
libc/src/math/scalbnl.h
libc/test/src/math/CMakeLists.txt
libc/test/src/math/ScalbnTest.h
libc/test/src/math/scalbn_test.cpp
libc/test/src/math/scalbnf_test.cpp
libc/test/src/math/scalbnl_test.cpp
|