diff options
| author | Rob Suderman <rob.suderman@gmail.com> | 2024-07-31 10:06:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-31 10:06:20 -0700 |
| commit | a3fb30143565cca2c794ab0e9921d50b09cadfc7 (patch) | |
| tree | 97272f0e49e0f6be85256df29e1cd40c4b6a741f /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h | |
| parent | 28a079223dd22f13ca51dfa8f5d51a9cd3514edf (diff) | |
[mlir][math] Fix polynomial `math.asin` approximation (#101247)
The polynomial approximation for asin is only good between [-9/16,
9/16]. Values beyond that range must be remapped to achieve good numeric
results. This is done by the equation below:
`arcsin(x) = PI/2 - arcsin(sqrt(1.0 - x*x))`
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
