maxvalue

How do you do maths (or math) with numbers bigger than MaxValue in C#?

I want to be able to process arbitrarily large numbers in C#. I can live with just integers. Are there established algorithms for this kind of thing? Or is there a good 3rd-party library? I might consider changing language if there really is no good way to do it in C#. Thanks for any help / suggestions. ...

uint.MaxValue in .NET

uint x = uint.MaxValue - 100; The above line causes visual studio to report "The operation overflows at compile time in checked mode" I'm obviously missing something. Any ideas what? ...

SQL constraint minvalue / maxvalue?

Is there a way to set a SQL constraint for a numeric field that min value should be 1234 and max value should be 4523? ...

How to represent system constants in XAML (like double.MaxValue)

What is the xaml equivalent of MyProperty = double.MaxValue? I'm afraid I'll need to use something like MyProperty="{x:Static sys:Int32.MaxValue}", but not sure, and can't find the equivalent for double. Thanks. ...

Integer counter - What to do when Max-Value?

How do you solve the max value problem when using an integer counter, that looks like counter = counter + 1; When this reaches the max value, how do you know this happened? Do you add another counter for this counting how often this happened? My question concerns about java. ...

How can I select values from different rows depending on the most recent entry date, all for the same employee ID?

Basically I have a table which is used to hold employee work wear details. It is formed of the columns: EmployeeID, CostCentre, AssociateLevel, IssueDate, TrouserSize, TrouserLength, TopSize & ShoeSize. An employee can be assigned a pair of trousers, a top and shoes at the same time or only one or two pieces of clothing. As we all k...

Update on row for each group with max value in other column

I have to update a column in a very, very large table. So performance is a big issue. The question is the similar to this one, but only for Sybase Adaptive Server Enterprise (ASE 12.5.4) plus I need to do an update on the retrieved rows. Is there a way to do it without a self join like in the top voted answer for Oracle? This was the f...