Baseline Widely available
Math.sinh()
í¨ì(ì곡ì í¨ì)ë ì¬ì¸ê°ì ë°íí©ëë¤ ì´ ê°ì ìëìê°ì ììíµí´ì ííí ì ììµëë¤.constant e:
console.log(Math.sinh(0));
// Expected output: 0
console.log(Math.sinh(1));
// Expected output: 1.1752011936438014
console.log(Math.sinh(-1));
// Expected output: -1.1752011936438014
console.log(Math.sinh(2));
// Expected output: 3.626860407847019
구문 Parameters ë°í ê°
ì¬ì¸ê°.
ì¤ëªsinh()
ë Math
ì ì ì í¨ìì´ê¸° ë문ì, JavaScript ì´ëë Math.sinh()
를 ì¬ì©í ì ììµëë¤, ë°ë¼ì Math
ì¤ë¸ì í¸ë¥¼ ìì±í´ìë ìë©ëë¤. (Math
ë constructor(ìì±ì) ê° ìëëë¤.).
Math.sinh()
ì¬ì©í기
Math.sinh(0); // 0
Math.sinh(1); // 1.1752011936438014
í´ë¦¬í
This can be emulated with the help of the Math.exp()
function:
Math.sinh =
Math.sinh ||
function (x) {
return (Math.exp(x) - Math.exp(-x)) / 2;
};
or using only one call to the Math.exp()
function:
Math.sinh =
Math.sinh ||
function (x) {
var y = Math.exp(x);
return (y - 1 / y) / 2;
};
ëª
ì¸ì ë¸ë¼ì°ì í¸íì± ê°ì´ 보기
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