Overview / Web Technology
Web technology reference for developers
HTML
Structure of content on the web
CSS
Code used to describe document style
JavaScript
General-purpose scripting language
HTTP
Protocol for transmitting web resources
Web APIs
Interfaces for building web applications
Web Extensions
Developing extensions for web browsers
Accessibility
Build web projects usable for all
Web Technology
Web technology reference for developers
æ¤é¡µé¢ç±ç¤¾åºä»è±æç¿»è¯èæ¥ãäºè§£æ´å¤å¹¶å å ¥ MDN Web Docs 社åºã
Filter sidebar
卿¬æä¸Math
Math.abs()
Math.acos()
Math.acosh()
Math.asin()
Math.asinh()
Math.atan()
Math.atan2()
Math.atanh()
Math.cbrt()
Math.ceil()
Math.clz32()
Math.cos()
Math.cosh()
Math.exp()
Math.expm1()
f16round()
Math.floor()
Math.fround()
Math.hypot()
Math.imul()
Math.log()
Math.log1p()
Math.log2()
Math.log10()
Math.max()
Math.min()
Math.pow()
Math.random()
Math.round()
Math.sign()
Math.sin()
Math.sinh()
Math.sqrt()
sumPrecise()
Math.tan()
Math.tanh()
Math.trunc()
Baseline Widely available
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since July 2015.
æ¦è¿°Math.exp()
彿°è¿å e^x
ï¼x
è¡¨ç¤ºåæ°ï¼e
æ¯æ¬§æå¸¸æ°ï¼Euler's constantï¼ï¼èªç¶å¯¹æ°çåºæ°ã
js
Math.exp(x)
åæ°
x
ä¸ä¸ªæ°å¼
ç±äº exp
æ¯ Math
çéææ¹æ³ï¼æä»¥åºè¯¥åè¿æ ·ä½¿ç¨ï¼Math.exp()
ï¼è䏿¯ä½ä¸ºä½ å建ç Math
å®ä¾çæ¹æ³ã
Math.exp
js
Math.exp(-1); // 0.36787944117144233
Math.exp(0); // 1
Math.exp(1); // 2.718281828459045
è§è Specification ECMAScript® 2026 Language Specification .
This page was last modified on 2024å¹´1æ22æ¥ by MDN contributors.
View this page on GitHubâ¢
Report a problem with this contentRetroSearch 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