Skip to main content

tanh

The mathematical hyperbolic tangent function.

Parameter

Type

x

decimal, double

Returns: decimal

Example

Query:

PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-function-sample-queries/>
PREFIX fn: <http://data.world/function/functions#>

SELECT (fn:tanh(0) AS ?tanh)
{
}

Run query

Results:

tanh

0.0