Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 82decd3f authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain

Let us be more forceful with divisions

parent 64d4e5de
......@@ -653,6 +653,11 @@ rewrite_additive_normal_form(A * (B * C), D * C) :-
rewrite_additive_normal_form(A * (B * C), B * (A * C)) :-
number(B).
rewrite_additive_normal_form((A * B) / C, D * B) :-
number(A),
number(C),
D is A/C.
rewrite_additive_normal_form((A * B) / C, A * (B / C)) :-
number(A).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment