Skip to main content
Glama

Weather & Stock MCP Server

by Jeetinida
es.math.tanh.js404 B
'use strict'; var $ = require('../internals/export'); var expm1 = require('../internals/math-expm1'); var exp = Math.exp; // `Math.tanh` method // https://tc39.es/ecma262/#sec-math.tanh $({ target: 'Math', stat: true }, { tanh: function tanh(x) { var n = +x; var a = expm1(n); var b = expm1(-n); return a === Infinity ? 1 : b === Infinity ? -1 : (a - b) / (exp(n) + exp(-n)); } });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jeetinida/stocknews-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server