Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Advice
1 vote
5 replies
103 views

In HTML, I want to do the following: |------|------|-------|-----| | | div2 | div3 |div4 | | div1 | -------------------| | | div5 | div6 |div7 | I always want div1 to be absolute on the ...
D Mawer's user avatar
  • 93
2 votes
2 answers
229 views

I am trying to solve the problem posed in this question which asks that division of two numbers be performed in a bitwise manner. So, I wrote the following functions. sum() adds two numbers. larger() ...
6 votes
1 answer
268 views

I have a fixed-point math-heavy project and I was looking to speed up integer divisions. I tested double division with SSE4 and AVX2 and got nearly 2x speedup versus scalar integer division. I wonder ...
0 votes
2 answers
105 views

I am trying to record CPU and memory utilizations of processes running in my window server using PowerShell. Script is running well but I am not getting anything if Mutiple process are running with ...
0 votes
2 answers
96 views

1st: I want to write a function "div" that takes two numbers as parameters and returns the quotient of the first number divided by the second number. and need to use a try-except statement ...
0 votes
0 answers
39 views

Suppose I have the following code within a VBA script: Dim Start As Long Dim Final As Long Dim Rate As Long Start = 10 End = 9 Rate = Final / Start MsgBox("Rate Variable = " + CStr(Rate) + ...
thnkwthprtls's user avatar
  • 3,517
0 votes
1 answer
71 views

I was having trouble following an example in The Art of Computer Programming, (3rd Ed.) by Donald Knuth. I figured it out by starting to ask here ("explain it to a duck"), so I thought I ...
Rich006's user avatar
  • 215
4 votes
1 answer
167 views

The documentation of the NUMERIC type states: Specifying: NUMERIC without any precision or scale creates an "unconstrained numeric" column in which numeric values of any length can be stored, up to ...
Alex R's user avatar
  • 3,309
4 votes
0 answers
158 views

I'm currently focusing on the implementation of Kyber (ML-KEM). I noticed that the AVX2 version of the compress operation seems to use a fast division algorithm. In the compress operation, we need to ...
1 vote
0 answers
72 views

I've been working on a fence calculation tool that breaks down a total length, as equally as possible, into components (rails and posts) using a predefined set of rail lengths. The user can choose a ...
0 votes
1 answer
97 views

I am making a game in Python where you answer math questions. I have added 3 operations: addition, subtraction and multiplication. They have 5 modes, each harder than the other. Now I want to add ...
1 vote
1 answer
173 views

Starting to learn assembly x86-64, I'm writing a program that gets an array of integers and does some calculations on it. The purpose isn't relevant to the question, but the calculations include ...
2 votes
0 answers
90 views

I'm trying to trace this C source code (when a = 2): b = a/3; To this ARM assembly code (for unsigned 1 byte value): ldrb r2, [fp, #-6] @ zero_extendqisi2 @ tmp162, a ldr r3, .L34 @ tmp164, ...
-2 votes
1 answer
180 views

#define BLUR 2 #define LEN (2 * BLUR + 1) * (2 * BLUR + 1) using namespace std; int main() { cout << 50 / LEN; // result is 50 } the expected result is 2 but it's 50. I try another numbers ...
-2 votes
1 answer
57 views

i'm new to php. please i would want to get figure from user's input amount such as if a user pays 2500 i want to get 2.5 from the amount he inputed examples below 1000 ------ 1 , 1500 ------...
Tunde Adam's user avatar

15 30 50 per page
1
2 3 4 5
...
153

AltStyle によって変換されたページ (->オリジナル) /