Answer:
Following are the properties available in Math Class:-
PI Returns PI(i.e. 22/7 approx. 3.14)
E Returns Euler's number(approx. 2.718)
LN2 Returns the natural logarithm of 2(approx. 0.693)
LN10 Returns the natural logarithm of 10(approx. 2.302)
LOG2E Returns the base-2 logarithm of E(approx. 1.442)
LOG10E Returns the base-10 logarithm of E(approx. 0.434)
SQRT1_2 Returns the square root of 1/2(approx. 0.707)
SQRT2 Returns the square root of 2(approx. 1.414)
Asked In: Many Interviews |
Alert Moderator