3 lines
63 B
Prolog
3 lines
63 B
Prolog
|
|
div(A, B, C, Ex) :-
|
||
|
|
catch((C is A/B), Ex, (C = infinity)).
|