Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Force `npymath to respect npy_longdouble` #20465

Merged
merged 1 commit into from Nov 26, 2021

Commits on Nov 25, 2021

  1. BUG: Revert from long double changes, and force npymath to respec…

    …t `npy_longdouble` (numpy#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`.
    seiko2plus authored and charris committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    733574d View commit details
    Browse the repository at this point in the history