Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Code Review

Questions tagged [integer]

Ask Question

Use this tag for questions about using, storing or manipulating integral values of all types and sizes, including concerns about overflow. Not for code that casually happens to use integers.

396 questions
Filter by
Sorted by
Tagged with
3votes
2answers
849views

IntroIn this post, I will present three (3) non-negative integer encoding techniques:Elias gamma codingElias delta codingGolomb-Rice codingCode...
coderodde's user avatar
5votes
1answer
407views

I have implemented an elementary positive integer class that supports addition, subtraction, and multiplication for an arbitrary number of digits using a singly linked list....
5votes
2answers
849views

IntroThis time, I have attempted to prove the following bruteforce multiplication formula:$$(a_n \cdots a_0) \cdot (b_m \cdots b_0) = \sum_{i = 0}^n \sum_{j = 0}^m a_i b_j \cdot 10^{i + j}, $$...
coderodde's user avatar
13votes
5answers
3kviews

This is my infinite precision integer implemented in C++20. It supports negative numbers. I have implemented addition, subtraction, multiplication and binary integer division, which returns quotient ...
-4votes
1answer
393views

[edit] Hint: a similar project for C++20 which - as far as I see - also manages bigger than 128-bit integers can be found at: Infinite precision integer in C++20 . [/edit]I got lots of kind hints on ...
user1018684's user avatar
3votes
3answers
621views

I got helpful reviews for first steps in:int128 handling in c-code, gcc / glibc / linux,int128 handling in c-code, gcc / glibc / linux - follow up andint128 handling in c-code, gcc / glibc / linux -...
user1018684's user avatar
3votes
1answer
254views

An update to Int128 That is built on Linux for lack of direct support, based on System.Numerics Nuget package....
Short Int's user avatar
3votes
2answers
909views

I got very nice reviews for an attempt to produce read and printroutines for 128-bit integer datatypes in:int128 handling in c-code, gcc / glibc / linux and:int128 handling in c-code, gcc / glibc / ...
user1018684's user avatar
4votes
1answer
249views

I have createdInt128 which is based off ofBigInteger with operator overloading to handle larger math requirements. Here is a ...
Short Int's user avatar
5votes
2answers
415views

I had a draft for int128 handling reviewed there:int128 handling in c-code, gcc / glibc / linuxI changed a lot according to the hints there, while leaving in, e.g.,a trailing space on each line, ...
user1018684's user avatar
3votes
0answers
130views

I have this repository. It contains three variations of a simple sorting algorithm for integer keys.The idea is that we keep a balanced BST in which each node holds the integer key and its frequency. ...
2votes
1answer
263views

I usedstd::multiset to determine how many times that factor appears.I'd like to know if it can be improved; I've focused on the algorithm rather than the code....
ozan's user avatar
2votes
1answer
186views

As Java programmers, we can always use the BigInteger isProbablePrime() method or store manually all prime numbers in a HashMap. This question is about the most efficient way to figure out if a single ...
user3595831's user avatar
6votes
2answers
333views

I have a very hot segment of code in a large project. I've extracted the relevant segment and a toy example to illustrate it.The project involves an unavoidable combinatorial explosion related to ...
Dave's user avatar
  • 163
3votes
2answers
338views

This is a follow-up question for conv2 Template Function Implementation for Image in C++ and An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. For performing ...

153050per page
1
2345
27

Hot Network Questions

more hot questions
Newest integer questions feed

[8]ページ先頭

©2009-2025 Movatter.jp