문제

In javascript division by zero will result to a value called infinity( or -infinity). Also, any arithmetic operation on infinity with a real number will result to infinity. I would like to know how is infinity value, and the functions that operate over it have been implemented.

도움이 되었습니까?

해결책

Infinity is 1.7976931348623157E+308 in Javascript, which is a number that exceeds the upper limit of the floating point numbers. There is also -Infinity, which is a number that exceeds the lower limirt of the floating point numbers (-1.7976931348623157E+10308).

Scientific notation, didn't want to exceed the char limit ;)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top