This arithmetic predicate calculates the sinus of the argument.
see also: acos/1 asin/1 atan/1 arithmetic in Prolog cos/1 cosh/1 is/2 tan/1 tanh/1
| Examples | |
| X is sin(2.71). | succeeds, X is 0.4183179 |
| X is sin(-0.1). | succeeds, X is -0.09983342 |
| Exceptions | |
| The floating point argument or result exceeds the floating point range | an evaluation_error(float_overflow) exception is thrown |
| The integer argument result exceeds the integer range | an evaluation_error(int_overflow) exception is thrown |