Skip to content

Instantly share code, notes, and snippets.

@jarmo
Created October 16, 2010 15:55
Show Gist options
  • Select an option

  • Save jarmo/629943 to your computer and use it in GitHub Desktop.

Select an option

Save jarmo/629943 to your computer and use it in GitHub Desktop.
program :-
A = 1.2,
B = 1.0,
C = 0.2,
(
A - B =:= C, write(true);
write(false)),nl,
(
A * 10 - B * 10 =:= C * 10, write(true);
write(false)).
:-program.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment