Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
Math.cosh() は静的メソッドで、数値の双曲線余弦(ハイパーボリックコサイン)を返します。
𝙼𝚊𝚝𝚑.𝚌𝚘𝚜𝚑(𝚡)=cosh(x)=ex+e−x2\mathtt{\operatorname{Math.cosh}(x)} = \cosh(x) = \frac{\mathrm{e}^x + \mathrm{e}^{-x}}{2}数値です。
x の双曲線余弦(ハイパーボリックコサイン)です。
cosh() は Math の静的メソッドであるため、生成した Math オブジェクトのメソッドとしてではなく、常に Math.cosh() として使用するようにしてください (Math はコンストラクターではありません)。
| ECMAScript® 2027 Language Specification # sec-math.cosh |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年10月2日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.