You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the C interface of gmpy2 in cython and it has been working great. However, I have not found out how to access the absolute value function abs() in this context.
All of the following fail with import (or no module found) errors: from gmpy2 import abs as gmpabs from gmpy2_context import abs as gmpabs from gmpy2_abs import abs as gmpabs
Is there a way to access the abs() function from cython, or do I need to make my own alternative?
The text was updated successfully, but these errors were encountered:
deyanmihaylov
changed the title
Access to abd from C interface
Access to abs() from C interface
Sep 18, 2024
I am using the C interface of gmpy2 in cython and it has been working great. However, I have not found out how to access the absolute value function
abs()
in this context.All of the following fail with import (or no module found) errors:
from gmpy2 import abs as gmpabs
from gmpy2_context import abs as gmpabs
from gmpy2_abs import abs as gmpabs
Is there a way to access the
abs()
function from cython, or do I need to make my own alternative?The text was updated successfully, but these errors were encountered: