bad pi



Hi,

(there's actually not one programming language I know that can do this, but)
is there any way to make prolog give me
X = 5*pi
when I ask
X is 3*pi + 2*pi
and not
X = 15.708


TIA


.



Relevant Pages

  • Re: bad pi
    ... > (there's actually not one programming language I know that can do this, ... > is there any way to make prolog give me ... floats rarely match using == ... ... Prev by Date: ...
    (comp.lang.prolog)
  • Re: bad pi
    ... >> (there's actually not one programming language I know that can do this, ... >> is there any way to make prolog give me ... Thx, ... Prev by Date: ...
    (comp.lang.prolog)
  • Re: bad pi
    ... >(there's actually not one programming language I know that can do this, ... >is there any way to make prolog give me ... Cheers, Andreas ... Prev by Date: ...
    (comp.lang.prolog)
  • Re: Is Prolog good for AI? (was: Minsky still posting)
    ... >> widely viewed as a failure. ... programming language was "a version of Prolog". ...
    (comp.lang.prolog)
  • Algorithm transformation
    ... (sorry if the syntax is prolog like, but it is the programming language ... And the target is to obtain the set of rules for the addition of one ...
    (comp.theory)