Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 168 - Big Numbers  (Read 4208 times)
Reuben B.
Four Js
Posts: 1116


« on: March 31, 2023, 12:05:27 am »

The Genero documentation gives the biggest number for various integer datatypes.  For BIGINT this is 9,223,372,036,854,775,807 or 2^63 -1.
 
Recently had an interesting case where a very big BIGINT was not parsing to JSON correctly.  When we investigated it, the JSON definition of a number uses the IEEE 754 double-precision floating point format which can only represent integers precisely up to 2^53

Read more at https://4js.com/ask-reuben/ig-168/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines