Top "Long-integer" questions

A long integer is an integer number, typically twice the size of a standard integer.

The maximum string content length quota (8192) has been exceeded while reading XML data

I'm trying to pass a large string (24,000 to 50,000 characters) to a self-hosted TCP WCF service. I've upped the maxStringContentLength (everywhere) …

wcf string long-integer quota
How to cast Long to Int in Scala?

I'd like to use the folowing function to convert from Joda Time to Unix timestamp: def toUnixTimeStamp(dt : DateTime) : Int = { …

scala types casting int long-integer
Cast int to pointer - why cast to long first? (as in p = (void*) 42; )

In the GLib documentation, there is a chapter on type conversion macros. In the discussion on converting an int to …

c pointers casting int long-integer
How to use long id in Rails applications?

How can I change the (default) type for ActiveRecord's IDs? int is not long enough, I would prefer long. I …

ruby-on-rails activerecord int long-integer bigint
How i can convert NSString to long value?

I have one value 100023 and I have taken it in NSString. Now I want to pass this value in my …

objective-c nsstring long-integer
Warning: this decimal constant is unsigned only in ISO C90

Piece of code : long rangeVar = 0; rangeVar = atol(p_value); if (rangeVar >= -2147483648 && rangeVar <= 2147483647) On compiling I …

c compiler-construction long-integer iso c89
How can I check if multiplying two numbers in Java will cause an overflow?

I want to handle the special case where multiplying two numbers together causes an overflow. The code looks something like …

java math long-integer integer-overflow
What is the largest data type for storing (and printing) an integer?

In C on a 32-bit system, which data type will store (and can therefore print) the largest integer? Is it …

c types int long-integer primitive-types
What's the difference between long long and long

What's the difference between long long and long? And they both don't work with 12 digit numbers (600851475143), am I forgetting something? #…

c++ int long-integer
Difference between Long.valueOf(java.lang.String) and new Long(java.lang.String)?

I'm consolidating code written by two different people and notice that casting a String value into a Long has been …

java coding-style long-integer