@@ -8,13 +8,13 @@ type Radians = Number
88-- | Returns the absolute value of the argument.
99foreign import abs " var abs = Math.abs;" :: Number -> Number
1010
11- -- | Returns the arccosine of the argument.
11+ -- | Returns the inverse cosine of the argument.
1212foreign import acos " var acos = Math.acos;" :: Number -> Radians
1313
14- -- | Returns the arcsine of the argument.
14+ -- | Returns the inverse sine of the argument.
1515foreign import asin " var asin = Math.asin;" :: Number -> Radians
1616
17- -- | Returns the arctangent of the argument.
17+ -- | Returns the inverse tangent of the argument.
1818foreign import atan " var atan = Math.atan;" :: Number -> Radians
1919
2020-- | Four-quadrant tangent inverse. Given `y` and `x`, returns the arctangent of
@@ -30,7 +30,7 @@ foreign import atan2
3030 \ };\
3131 \}" :: Number -> Number -> Radians
3232
33- -- | Returns the smallest integer greater than or equal to the argument.
33+ -- | Returns the smallest integer not smaller than the argument.
3434foreign import ceil " var ceil = Math.ceil;" :: Number -> Number
3535
3636-- | Returns the cosine of the argument.
@@ -39,7 +39,7 @@ foreign import cos "var cos = Math.cos;" :: Radians -> Number
3939-- | Returns `e` exponentiated to the power of the argument.
4040foreign import exp " var exp = Math.exp;" :: Number -> Number
4141
42- -- | Returns the largest integer less than or equal to the argument.
42+ -- | Returns the largest integer not larger than the argument.
4343foreign import floor " var floor = Math.floor;" :: Number -> Number
4444
4545-- | Returns the natural logarithm of a number.
@@ -69,7 +69,7 @@ foreign import pow
6969 \ }\
7070 \}" :: Number -> Number -> Number
7171
72- -- | Returns the integer nearest to the argument.
72+ -- | Returns the integer closest to the argument.
7373foreign import round " var round = Math.round;" :: Number -> Number
7474
7575-- | Returns the sine of the argument.
@@ -81,26 +81,26 @@ foreign import sqrt "var sqrt = Math.sqrt;" :: Number -> Number
8181-- | Returns the tangent of the argument.
8282foreign import tan " var tan = Math.tan;" :: Radians -> Number
8383
84- -- | Euler's constant and the base of natural logarithms, approximately 2.718 .
84+ -- | The base of natural logarithms, *e*, around 2.71828 .
8585foreign import e " var e = Math.E;" :: Number
8686
87- -- | Natural logarithm of 2, approximately 0.693 .
87+ -- | The natural logarithm of 2, around 0.6931 .
8888foreign import ln2 " var ln2 = Math.LN2;" :: Number
8989
90- -- | Natural logarithm of 10, approximately 2.303 .
90+ -- | The natural logarithm of 10, around 2.3025 .
9191foreign import ln10 " var ln10 = Math.LN10;" :: Number
9292
93- -- | Base 2 logarithm of `e`, approximately 1.443 .
93+ -- | The base 2 logarithm of `e`, around 1.4426 .
9494foreign import log2e " var log2e = Math.LOG2E;" :: Number
9595
96- -- | Base 10 logarithm of `e`, approximately 0.434 .
96+ -- | Base 10 logarithm of `e`, around 0.43429 .
9797foreign import log10e " var log10e = Math.LOG10E;" :: Number
9898
99- -- | Ratio of the circumference of a circle to its diameter, approximately 3.14159.
99+ -- | The ratio of the circumference of a circle to its diameter, around 3.14159.
100100foreign import pi " var pi = Math.PI;" :: Number
101101
102- -- | Square root of 1/2, approximately 0.707 .
102+ -- | The Square root of one half, around 0.707107 .
103103foreign import sqrt1_2 " var sqrt1_2 = Math.SQRT1_2;" :: Number
104104
105- -- | Square root of 2, approximately 1.414 .
105+ -- | The square root of two, around 1.41421 .
106106foreign import sqrt2 " var sqrt2 = Math.SQRT2;" :: Number
0 commit comments