Baseline Widely available
Math.acosh()
彿°è¿åä¸ä¸ªæ°çååæ²ä½å¼¦å¼ï¼å³ï¼
console.log(Math.acosh(0.999999999999));
// Expected output: NaN
console.log(Math.acosh(1));
// Expected output: 0
console.log(Math.acosh(2));
// Expected output: 1.3169578969248166
console.log(Math.acosh(2.5));
// Expected output: 1.566799236972411
è¯æ³ åæ° è¿åå¼
è¿åç»å®æ°çååæ²ä½å¼¦å¼ï¼å¦æè¯¥æ°å°äº 1 åè¿å NaN
ã
å 为 acosh()
æ¯ Math
çéææ¹æ³ï¼æä»¥ä½ åºè¯¥éè¿ Math.acosh()
è°ç¨ï¼è䏿¯ä½ä¸ºä½ å建ç Math
å¯¹è±¡çæ¹æ³ï¼Math
䏿¯æé 彿°ï¼ã
Math.acosh()
Math.acosh(-1); // NaN
Math.acosh(0); // NaN
Math.acosh(0.5); // NaN
Math.acosh(1); // 0
Math.acosh(2); // 1.3169578969248166
å½åæ°å°äº 1 æ¶ï¼Math.acosh()
å°è¿å NaN
ã
å½ x ⥠1 x \geq 1 æ¶ï¼é½æ arcosh ( x ) = ln ( x + x2 - 1 ) \operatorname {arcosh} (x) = \ln \left(x + \sqrt{x^{2} - 1} \right) ï¼å æ¤å¯ä»¥ä½¿ç¨ä»¥ä¸å½æ°å®ç°ï¼
Math.acosh =
Math.acosh ||
function (x) {
return Math.log(x + Math.sqrt(x * x - 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