Top "Operations" questions

What's the difference between a single precision and double precision floating point operation?

What is the difference between a single precision floating point operation and double precision floating operation? I'm especially interested in …

floating-point precision processor operations
Java NIO FileChannel versus FileOutputstream performance / usefulness

I am trying to figure out if there is any difference in performance (or advantages) when we use nio FileChannel …

java optimization file nio operations
How to generate string of a certain length to insert into a file to meet a file size criteria?

I have a requirement to test some load issues with regards to file size. I have a windows application written …

c# string .net operations
C libraries for mathematical matrix operations

I know there are some optimized algorithms around for all kind of matrix decompositions (QR decomposition, SVD,...), multiplications and the …

c matrix operations math
fps - how to divide count by time function to determine fps

I have a counter working that counts every frame. what I want to do is divide this by time to …

python opencv time frame-rate operations
Bitwise overflow checking in c

I am trying to write two functions that will check/prevent overflow in c (using only ! ~ | & ^ +) but cant get …

c overflow bit-manipulation operations
R populating a vector

I have a vector of zeros, say of length 10. So v = rep(0,10) I want to populate some values of the …

r vector operations
objective-c divide always returns 0

Something really weird is happening. float p1 = (6 / 100); NSLog(@"p1 = %f", p1); With those two lines of code I get the …

objective-c operations divide
Is there a way to make a function atomic in C?

Is there a way to make a function atomic in C. I am not looking for a portable solution.(platforms …

c atomic operations
Matrix class in java

I needed help with creating created a Matrix class in java so I posted on stackoverflow. Eventually I figured it …

java class matrix operations