On 12/05/21 12:39, Alexandru Elisei wrote:
+ + /* Copy sign of num^den into quotient, sign of num into remainder. */ + quot = (__divmoddi4(num, den, p_rem) + qmask) ^ qmask;I see no early return statement in the function, it looks to me like the function will recurse forever. Maybe you wanted to call here __*u*divmoddi4() (emphasis added) instead?
Of course... Paolo