Hi,
The following code is for a simpleWeb server. Can you please help me in modifying this code so that I implement a basic proxy that handles requests one at a time. When started,the proxy should...
Type: Posts; User: Lina
Hi,
The following code is for a simpleWeb server. Can you please help me in modifying this code so that I implement a basic proxy that handles requests one at a time. When started,the proxy should...
M=83, N=97, system clock rate=3190 MHz
Error in poly2d_dave
x=1.062500 y=-0.937500 Output = 3538.000000 but should be 44581.437500
when i tested the following, it gave me wrong results.
can you show how you would do it coz i tried to do it and i didn't work
Hi,
whenever i type
static val_t coeffs[M][N] = {0};
i get an error tha says=
missing braces around initializer
(near initialization for `coffs[0]')
why is that?
This following is what i got but it is really slow ACPE=11.8 and i have to get <3
please help. I'm really desperate
val_t poly2d_h(val_t C[M][N]) {
val_t sol = (val_t)0;
val_t x =...
we have to be optimizing the performance of a function f that computes the value of a bivariate polynomial of order M + N over variables x and y:
where C[i][j] is the coefficient of the x^i y^j...
amortized cycles per matrix element (ACPE), where ACPE is defined as the total number of CPU cycles to perform the polynomial calculation divided by M × N, the number of elements in the matrix C.
how can the pointers be caluclated once at the start of the loop?
Hi Onion Knigt,
my function has to looke like following:
val_t poly2d_anyName(val_t C[M][N]) {
/* play with what is inside the function to make it run faster*/
}
the flollowing is a simple way of implementing the function, then it's optimized to the one i posted earlier. Now, i want to optimize it more. So i thought that implemting Horner's rule would make it...
Hi,
i have to write a poly2d function that runs fast.
The following that i have is not fast, it is 7.06 ACPE, i know that Horner’s
rule would make it much faster but i don't know how to modify...
i'm working on the binary bomb assignment, i've defused phase_1 bomb , but not phase_2.
Please help me on doing so
this following is the disassmbled code using objdump
08048b80 <phase_2>:...
what is this number 0x80000000?
Hi SirNot,
would u please explain for me what does that line do??
neg = (signed int)(i & 0x80000000) >> 31;
Thanx alot
Can you clarify that more! what piece of code i should remove.
i edited it.
i did my best to do this function, the following is what i came up with.
However, the max operators that i can use is 12 and i'm using 16. i did all i
can to have the min number of operatores and...