Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 86151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:12:04+00:00 2026-05-10T22:12:04+00:00

Is this defined by the language? Is there a defined maximum? Is it different

  • 0

Is this defined by the language? Is there a defined maximum? Is it different in different browsers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:12:05+00:00Added an answer on May 10, 2026 at 10:12 pm

    JavaScript has two number types: Number and BigInt.

    The most frequently-used number type, Number, is a 64-bit floating point IEEE 754 number.

    The largest exact integral value of this type is Number.MAX_SAFE_INTEGER, which is:

    • 253-1, or
    • +/- 9,007,199,254,740,991, or
    • nine quadrillion seven trillion one hundred ninety-nine billion two hundred fifty-four million seven hundred forty thousand nine hundred ninety-one

    To put this in perspective: one quadrillion bytes is a petabyte (or one thousand terabytes).

    ‘Safe’ in this context refers to the ability to represent integers exactly and to correctly compare them.

    From the spec:

    Note that all the positive and negative integers whose magnitude is no greater than 253 are representable in the Number type (indeed, the integer 0 has two representations, +0 and -0).

    To safely use integers larger than this, you need to use BigInt, which has no upper bound.

    Note that the bitwise operators and shift operators operate on 32-bit integers, so in that case, the max safe integer is 231-1, or 2,147,483,647.

    const log = console.log var x = 9007199254740992 var y = -x log(x == x + 1) // true ! log(y == y - 1) // also true !  // Arithmetic operators work, but bitwise/shifts only operate on int32: log(x / 2)      // 4503599627370496 log(x >> 1)     // 0 log(x | 1)      // 1


    Technical note on the subject of the number 9,007,199,254,740,992: There is an exact IEEE-754 representation of this value, and you can assign and read this value from a variable, so for very carefully chosen applications in the domain of integers less than or equal to this value, you could treat this as a maximum value.

    In the general case, you must treat this IEEE-754 value as inexact, because it is ambiguous whether it is encoding the logical value 9,007,199,254,740,992 or 9,007,199,254,740,993.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 119k
  • Answers 119k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I figured it out: window.nativeWindow.x = (Screen.mainScreen.bounds.width - window.width)/2; window.nativeWindow.y… May 11, 2026 at 11:41 pm
  • Editorial Team
    Editorial Team added an answer Ok I solved my problem. It was not Message.WriteMessage that… May 11, 2026 at 11:41 pm
  • Editorial Team
    Editorial Team added an answer I don't know what is best solution but what I'd… May 11, 2026 at 11:41 pm

Related Questions

Simple question - why does the Decimal type define these constants? Why bother? I'm
I would like to pass a parameter defined in the XAML (View) of my
I'm looking for a pattern for the following. (I'm working in Perl, but I
In THE Java™ Programming Language, Fourth Edition By Ken Arnold, James Gosling, David Holmes,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.