I am able to resolve the issue by modifying 

bits.limbs = (size - 1) / (8 * sizeof(mp_limb_t)) + 1

to integer division

bits.limbs = (size - 1) // (8 * sizeof(mp_limb_t)) + 1


However, I doubt that this is the correct way to fix it?  
1. If this is correct, should I send initiate a ticket to correct th code 
on SageMath?
2. If not, what is the better way to avoid this error?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/3d097abf-b27d-4d61-904b-3d55a82de578%40googlegroups.com.

Reply via email to