Share Your Experience: Take the 2024 Developer Survey

# Tag Info

Accepted

### Inequality caused by float inaccuracy

In typical floating point implementations, the result of a single operation is produced as if the operation was performed with infinite precision, and then rounded to the nearest floating-point number....
• 30.4k

• 275
Accepted

• 3,276

### Inequality caused by float inaccuracy

The binary floating point format supported by computers is essentially similar to decimal scientific notation used by humans. A floating-point number consists of a sign, mantissa (fixed width), and ...
• 881

### Fastest way to solve a system of linear equations

There is what you want to achieve, and there is reality, and sometimes they are in conflict. First you check if your problem is a special case that can be solved quicker, for example a sparse matrix. ...
• 30.4k
Accepted

### What is the complexity of a bracketed search using mediants?

The relation between the Stern–Brocot tree and Farey sequences shows that if $0 < p/q < 1$ and $(p,q) = 1$ (i.e., $p/q$ is a reduced fraction) then $p/q$ is at the $q$th level of the tree. Since ...
• 278k
Accepted

• 278k
Accepted

### What is the role of Numerical Gradient Computation in Backpropagation algorithm?

The purpose is pure educational. Students that jump straight to mid- or high-level libraries like tensorflow, keras, theano, etc don't have to compute the gradients themselves. On the one hand, it ...
• 640
Accepted

### How approximate sine using Taylor series

Others have talked about argument reduction, but just as a little addendum, designing good argument reduction algorithms is an art in itself. General-purpose library functions have to be "correct" (in ...
• 22.2k