Top "Bigint" questions

Arbitrary-precision arithmetic (also called bignum arithmetic, multiple precision arithmetic, or infinite-precision arithmetic) indicates that calculations are performed on numbers which digits of precision are limited only by the available memory of the host system.

What is the simplest way of implementing bigint in C?

I am trying to calculate 100! (that is, the factorial of 100). I am looking for the simplest way to accomplish this …

c bigint
What to do when you need integers larger than 20 digits on mysql?

Seems like BIGINT is the biggest integer available on MySQL, right? What to do when you need to store a …

mysql int varchar bigint
Java compare integer and bigInteger

How do I compare an int with a BigInteger in Java? I specifically need the know if an int is …

java biginteger bigint
How to write bigint (timestamp in milliseconds) value as timestamp in postgresql

I'm trying to store in timestamp with timezone field my value. It is in milliseconds from 1970. select TO_CHAR(TO_…

postgresql timestamp unix-timestamp milliseconds bigint
How to convert strings to bigInt in JavaScript

I need to convert a string to BigInt like BigInteger in Javascript Example var reqId = "78099864177253771992779766288266836166272662"; var result = parseInt(reqId); document.…

javascript node.js biginteger bigint
How to convert BigInt to Number in JavaScript?

I found myself in the situation where I wanted to convert a BigInt value to a Number value. Knowing that …

javascript bigint ecmascript-next
Calculate 100 factorial with all the digits

I came across a problem of calculating 100 factorial. Here is what I tried first in Perl to calculate 100! : #!/usr/bin/…

perl factorial bigint
C++ 128/256-bit fixed size integer types

I was wondering if any fellow SO's could recommend a good light-weight fixed size integer type (128-bit or even 256-bit, …

c++ types bigint
node.js is there any proper way to parse JSON with large numbers? (long, bigint, int64)

When I parse this little piece of JSON { "value" : 9223372036854775807 } that's what I get { hello: 9223372036854776000 } Is there any way to parse …

node.js long-integer bigint int64
T-SQL: Converting NTEXT to VARCHAR to INT/BIGINT

I have a table with a field of type NTEXT which stores many type of values, filesize among them. I'm …

sql-server tsql varchar bigint ntext