Page 70 - JavaScript
P. 70

Constants                   Description              Approximate

                                      Difference between
                                      one and the smallest
                                                               2.2204460492503130808472633361816E-
          Number.EPSILON              value greater than
                                                               16
                                      one representable
                                      as a Number


                                      Largest integer n
                                      such that n and n + 1
          Number.MAX_SAFE_INTEGER     are both exactly         2^53 - 1
                                      representable as a
                                      Number

                                      Largest positive
          Number.MAX_VALUE            finite value of          1.79E+308
                                      Number


                                      Smallest integer n
                                      such that n and n - 1
          Number.MIN_SAFE_INTEGER     are both exactly         -(2^53 - 1)
                                      representable as a
                                      Number


                                      Smallest positive
          Number.MIN_VALUE                                     5E-324
                                      value for Number

                                      Value of negative
          Number.NEGATIVE_INFINITY
                                      infinity (-∞)


                                      Value of positive
          Number.POSITIVE_INFINITY
                                      infinity (∞)


                                      Value of positive
          Infinity
                                      infinity (∞)



        Trigonometry


        All angles below are in radians. An angle r in radians has measure 180 * r / Math.PI in degrees.


        Sine




         Math.sin(r);


        This will return the sine of r, a value between -1 and 1.






        https://riptutorial.com/                                                                               27
   65   66   67   68   69   70   71   72   73   74   75