diff options
| author | Daniel Garvey <dan@nod-labs.com> | 2023-05-09 21:26:37 -0700 |
|---|---|---|
| committer | Lei Zhang <antiagainst@google.com> | 2023-05-09 21:44:09 -0700 |
| commit | 58839f2e2913c2b7c0bb11a2292b8e666835cdb2 (patch) | |
| tree | 31cb57255a2d74eba127912e9018780be69c13c6 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
| parent | 309fdbb49bc3780f7248440cc8467c486ab1dcca (diff) | |
| download | llvm-58839f2e2913c2b7c0bb11a2292b8e666835cdb2.zip llvm-58839f2e2913c2b7c0bb11a2292b8e666835cdb2.tar.gz llvm-58839f2e2913c2b7c0bb11a2292b8e666835cdb2.tar.bz2 | |
[spirv][math] Fix sign propagation for math.powf conversion
For `x^y`, the result's sign should consider whether `y` is
an integer and whether it's odd or even.
This still does not cover all corner cases regarding `x^y`
but it's an improvement over the current implementation.
Reviewed By: antiagainst, qedawkins
Differential Revision: https://reviews.llvm.org/D150234
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions
