Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

does the number -3999999991 mean anything logical?

I have PHP based web app that does calculations on a series of numbers and normalizes them by substraction so that the last number in a series is always 1.

the series of numbers are is turned into json strings and stored in dynamodb

Occasionally my code shows the number -3999999991 instead of a number that is supposed to be 1 or a very small positive number.

Does this number mean anything ? for example overflow or something related to a json string handling ?

like image 743
Nir Avatar asked May 24 '12 09:05

Nir


People also ask

What does it mean to call something logical?

So calling something logical means it's based on reason and sound ideas — in other words, thought out with mathematical precision and removed from emotion. Sounds strict and boring, but it's the orderliness and consistency of logic that helps you write a great argument or figure out how to solve a problem. Thesaurus.

What does number of logical and physical processors mean?

Number of logical processors means number of cores, including "HT cores". Number of physical processors means number of sockets. Marked as answer by John Paul Cook Monday, November 16, 2009 6:20 PM Monday, November 16, 2009 11:35 AM

What is logical reasoning?

logical adj based on known statements or events or conditions adj marked by an orderly, logical, and aesthetically consistent relation of parts adj capable of or reflecting the capability for correct and valid reasoning adj capable of thinking and expressing yourself in a clear and consistent manner

What is a logical unit number (LUN)?

LUN setup varies by system. When the host scans the SCSI device and finds a logical unit, it will assign a logical unit number. When the LUN is combined with information such as the target port identifier, it identifies a specific logical unit for the SCSI initiator.


1 Answers

The number specifically means nothing to me but I have seen similar when trying to store a BIGINT in an INT field in mysql. I always got the same very long number.

Does the number show up when you're watching the values at runtime or only when you look at the db afterwards? If they're only in the db maybe occasionally a value becomes too large for the field.

like image 142
microsaurus_dex Avatar answered Sep 23 '22 10:09

microsaurus_dex