cosh(@number)

This arithmetic predicate calculates the hyperbolic cosines of the argument.

see also: acos/1 asin/1 atan/1 arithmetic in Prolog cos/1 is/2 sin/1 tan/1 tanh/1

Examples
X is cosh(1.1). succeeds, X is 1.668519
X is cosh(-0.1). succeeds, X is 1.005004

 

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

 

 

info@trinc-prolog.com