Baseline Widely available
Math.tanh()
éçã¡ã½ããã¯ãæ°å¤ã®ãã¤ãã¼ããªãã¯ã¿ã³ã¸ã§ã³ããè¿ãã¾ãã
console.log(Math.tanh(-1));
// Expected output: -0.7615941559557649
console.log(Math.tanh(0));
// Expected output: 0
console.log(Math.tanh(Infinity));
// Expected output: 1
console.log(Math.tanh(1));
// Expected output: 0.7615941559557649
æ§æ 弿° è¿å¤
x
ã®ãã¤ãã¼ããªãã¯ã¿ã³ã¸ã§ã³ãã§ãã
tanh()
㯠Math
ã®éçã¡ã½ããã§ãããããçæãã Math
ãªãã¸ã§ã¯ãã®ã¡ã½ããã¨ãã¦ã§ã¯ãªãã常㫠Math.tanh()
ã¨ãã¦ä½¿ç¨ããããã«ãã¦ãã ãã (Math
ã¯ã³ã³ã¹ãã©ã¯ã¿ã¼ã§ã¯ããã¾ãã)ã
Math.tanh(-Infinity); // -1
Math.tanh(-0); // -0
Math.tanh(0); // 0
Math.tanh(1); // 0.7615941559557649
Math.tanh(Infinity); // 1
仿§æ¸ ãã©ã¦ã¶ã¼ã®äºææ§ é¢é£æ
å ±
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4