Availability:built-in
?- 1 is sin(pi/2). | Fails! sin(pi/2) evaluates to the float 1.0, which does not unify with the integer 1. |
?- 1 =:= sin(pi/2). | Succeeds as expected. |
?- 1 is sin(pi/2). | Fails! sin(pi/2) evaluates to the float 1.0, which does not unify with the integer 1. |
?- 1 =:= sin(pi/2). | Succeeds as expected. |