Baseline Widely available
Math.atanh()
ã¯éçã¡ã½ããã§ãæ°å¤ã®åæ²ç·éæ£æ¥ (ãã¤ãã¼ããªãã¯ã¢ã¼ã¯ã¿ã³ã¸ã§ã³ã) ãè¿ãã¾ãã
console.log(Math.atanh(-1));
// Expected output: -Infinity
console.log(Math.atanh(0));
// Expected output: 0
console.log(Math.atanh(0.5));
// Expected output: 0.549306144334055 (approximately)
console.log(Math.atanh(1));
// Expected output: Infinity
æ§æ 弿°
x
-1 ï½ 1 ã®éã§ä¸¡ç«¯ãå«ãæ°å¤ã§ãã
x
ã®åæ²ç·éæ£æ¥ (ãã¤ãã¼ããªãã¯ã¢ã¼ã¯ã¿ã³ã¸ã§ã³ã) ã§ãã x
ã 1 ã®å ´åã Infinity
ãè¿ãã¾ãã x
ã -1 ã®å ´åã -Infinity
ãè¿ãã¾ãã x
ã -1 æªæºã§ããã 1 ãã大ããªå ´åã¯ã NaN
ãè¿ãã¾ãã
atanh()
㯠Math
ã®éçã¡ã½ããã§ãããããçæãã Math
ãªãã¸ã§ã¯ãã®ã¡ã½ããã¨ãã¦ã§ã¯ãªãã常㫠Math.atanh()
ã¨ãã¦ä½¿ç¨ããããã«ãã¦ãã ãã (Math
ã¯ã³ã³ã¹ãã©ã¯ã¿ã¼ã§ã¯ããã¾ãã)ã
Math.atanh(-2); // NaN
Math.atanh(-1); // -Infinity
Math.atanh(-0); // -0
Math.atanh(0); // 0
Math.atanh(0.5); // 0.5493061443340548
Math.atanh(1); // Infinity
Math.atanh(2); // NaN
仿§æ¸ ãã©ã¦ã¶ã¼ã®äºææ§ é¢é£æ
å ±
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