Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #38221

Re: Arithmetic Accuracy Question

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: Arithmetic Accuracy Question
Date Fri, 28 Feb 2020 09:20:18 +0100
Lines 31
Message-ID <hbs0q2Ftv5jU4@mid.individual.net> (permalink)
References <2e6b89f4-5561-43ab-8bc0-7d5c24f96db5@googlegroups.com> <2a154a66-7f18-4c67-b6e9-ffe1f9b5d395@googlegroups.com> <77eb2109-61df-4eba-b5b6-78a494d3d5f8@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace individual.net zvhFOnRODSqp6G01j2AmVw3QP/BwW228IwGF/ji8iFDYFCD7H8
Cancel-Lock sha1:UuwJdAezYBBxyXfm+S6S1WQXQAk=
In-Reply-To <77eb2109-61df-4eba-b5b6-78a494d3d5f8@googlegroups.com>
Xref csiph.com comp.lang.javascript:38221

Show key headers only | View raw


Julio Di Egidio:

> On Thursday, 27 February 2020 15:29:24 UTC+1, Michael Haufe (TNO)  wrote:
>> On Thursday, February 27, 2020 at 6:08:45 AM UTC-6, dr.j.r...@gmail.com wrote:
>>> [...]
>>
>>> TwoToPowerOf63	= Math.pow(2, 63)		// 2^63
>>
>> In modern JavaScript:
>>
>> let twoToPowerOf63 = 2**63;
> 
> "Modern" as in needing a transpiler?
> 
>>> And, does currently predominantly-used JavaScript natively have
>>> greater-precision types of numbers, such as 64-bit unsigned
>>> integers?  
>>
>> Yes:
>>
>> <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt>
> 
> Look at the Compatibility table at the bottom.

These are outdated. Also see here: <https://caniuse.com/#search=bigint>



-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Arithmetic Accuracy Question dr.j.r.stockton@gmail.com - 2020-02-27 04:08 -0800
  Re: Arithmetic Accuracy Question Julio Di Egidio <julio@diegidio.name> - 2020-02-27 06:02 -0800
  Re: Arithmetic Accuracy Question "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-02-27 06:29 -0800
    Re: Arithmetic Accuracy Question Julio Di Egidio <julio@diegidio.name> - 2020-02-27 06:39 -0800
      Re: Arithmetic Accuracy Question "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-02-27 07:49 -0800
        Re: Arithmetic Accuracy Question Julio Di Egidio <julio@diegidio.name> - 2020-02-27 08:00 -0800
          Re: Arithmetic Accuracy Question "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-02-27 08:20 -0800
      Re: Arithmetic Accuracy Question Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-02-27 22:54 +0100
        Re: Arithmetic Accuracy Question Arno Welzel <usenet@arnowelzel.de> - 2020-02-28 09:24 +0100
          Re: Arithmetic Accuracy Question "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-02-28 06:48 -0800
        Re: Arithmetic Accuracy Question John G Harris <niam@jghnorth.org.uk.invalid> - 2020-02-28 08:32 +0000
      Re: Arithmetic Accuracy Question Arno Welzel <usenet@arnowelzel.de> - 2020-02-28 09:20 +0100
        Re: Arithmetic Accuracy Question "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-02-28 11:06 +0100
    Re: Arithmetic Accuracy Question dr.j.r.stockton@gmail.com - 2020-03-26 12:04 -0700
      Re: Arithmetic Accuracy Question "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-03-26 13:17 -0700
  Re: Arithmetic Accuracy Question dr.j.r.stockton@gmail.com - 2020-03-26 11:24 -0700

csiph-web