. 1 the Math.abs () // Calculates the absolute value. 2 Math.acos () // Compute the inverse cosine. 3 Math.asin () // Compute the inverse sine. . 4 to Math.atan () // Compute the inverse tangent. . 5 Math.atan2 () // calculated from the angle of the point x-coordinate axis. . 6 Math.ceil () // the number rounded up to the nearest integer. . 7 Math.cos () // Compute the cosine. . 8 Math.exp () // calculated index value. . 9 Math.floor () // the number is rounded down to the nearest integer. 10 The Math.log () // calculates the natural logarithm. 11 Math.max () //Returns the larger of two integers. 12 is Math.min () // Returns the lesser of two integers. 13 is Math.pow () // Y th power of x. 14 Math.random () // Returns a pseudo-random number between 0.0 and 1.0. 15 Math.round () // rounded to the nearest integer. 16 Math.sin, () // Compute the sine. . 17 the Math.sqrt () // calculate the square root. 18 is Math.tan () // Compute the tangent. . 19 Math.E // Euler (the Euler) constant, the natural logarithm of the bottom (approximately 2.718). 20 Math.LN2 // natural logarithm of 2 (approximately 0.693). 21 Math.LOG2E //e represents the number of base 2 (approximately 1.442). 22 Math.LN2 // number of 10 natural (approximately 2.302). 23 is by Math.LOG10E // E of the logarithm to the base 10 (about 0.434). 24 Math.PI // ratio of a circle's circumference to its diameter (approximately 3.14159). 25 Math.SQRT1_2 // reciprocal of the square root of 1/2 (approximately 0.707). 26 Math.SQRT2 2 // square root of (approximately 1.414).
Reproduced in: https: //www.cnblogs.com/TSPWater/archive/2012/12/12/2814144.html