Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cdiv and cmod incorrect? #2643
I was looking at the definitions of
But these functions would return:
That's based on just running those definitions in the Python interpreter. Perhaps Cython handles them specially, and doesn't in fact give the incorrect results above. Still, why not include correct Python code? The following would work:
Sorry if this is just me misunderstanding some magic behind the scenes stuff.
You might want to make sure that your new functions work properly with the test found here: