Javascript의 수 타입들
자바스크립트의 빌트인 수 타입에는 Number와 BigInt가 있다.
Number는 IEEE754-2019 64비트 부동소수점 타입이다.
ECMAScript® 2022 Language Specification (tc39.es)
ECMAScript® 2022 Language Specification
The first and subsequent editions of ECMAScript have provided, for certain operators, implicit numeric conversions that could lose precision or truncate. These legacy implicit conversions are maintained for backward compatibility, but not provided for BigI
tc39.es
BigInt는 정수를 나타내며 임의의 크기로 32, 64 비트 같은 특정 너비로 제한되지 않는다.
특별한 명시가 없는 경우, 무한히 설정된 비트가 있는 것으로 처리된다.
ECMAScript® 2022 Language Specification (tc39.es)
ECMAScript® 2022 Language Specification
The first and subsequent editions of ECMAScript have provided, for certain operators, implicit numeric conversions that could lose precision or truncate. These legacy implicit conversions are maintained for backward compatibility, but not provided for BigI
tc39.es