diff options
author | Sayed Adel <seiko@imavr.com> | 2021-11-13 20:35:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 19:35:23 +0100 |
commit | 9ba1440501d53d72ecce24ed207db62e3037d807 (patch) | |
tree | 4bd85f5754fcba836e345961361a70308a85e649 /numpy/array_api/_elementwise_functions.py | |
parent | 4b19c7c2efed649608c2f67302df8570356237f8 (diff) | |
download | numpy-9ba1440501d53d72ecce24ed207db62e3037d807.tar.gz |
BUG: Revert from `long double` changes, and force `npymath` to respect `npy_longdouble` (#20360)
In some certain cases mostly workarounds, there's a necessity to define `npy_longdouble`
as `double` even if that was against the compiler
implementation(sizeof(long double) != sizeof(double)).
Therefore, avoid `long double`, use `npy_longdouble` instead,
and when it comes to standard math functions make sure of using
the double version when `NPY_SIZEOF_LONGDOUBLE` == `NPY_SIZEOF_DOUBLE`.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions