commands → recover

recover(A,P)

The recover command recovers a rational number from its image modulo P. If this is not possible then null is returned.

Examples

(4/5) % 97;
	59

recover(59,97);
	4/5