Sigrid Solveig Haflínudóttirenable more warnings, fix a bunch of them5ff984a1 year agoHistory
17 lines · 255 B · C
RawDownload
#include "platform.h"#include "mp.h" voidmpmod(mpint *x, mpint *n, mpint *r){	int sign;	mpint *ns; 	sign = x->sign;	ns = sign < 0 && n == r ? mpcopy(n) : n;	mpdiv(x, n, nil, r);	if(sign < 0){		mpmagsub(ns, r, r);		if(ns != n) mpfree(ns);	}}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t