Overflow handling in GMP pow
问题 (I am only an indirect user of the GMP-library primarily through swi-prolog and yap. But I am very much interested in fixing this problem.) When performing exponentiations with ridiculously large values, the host-systems or GMP are no longer able to handle the overflows appropriately. I have talked to the developers of above systems, but they do not see an easy fix for this. Is this problem known to other GMP systems/users? How do you handle such overflows? As a sanity check first test the