Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Arithmetic Accuracy Question Date: Fri, 28 Feb 2020 09:20:18 +0100 Lines: 31 Message-ID: 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 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: >> >> > > Look at the Compatibility table at the bottom. These are outdated. Also see here: -- Arno Welzel https://arnowelzel.de