|
You are here |
www.codeproject.com | ||
| | | | |
jaspervdg.wordpress.com
|
|
| | | | | What could be easier? Still, percentages in polls often add up to all sorts of numbers other than 100. For example, suppose exactly one third of the participants votes for option A, another third for option B, and another third for option C. All options have exactly one third of the votes, or 33.333...%. Rounding... | |
| | | | |
www.johndcook.com
|
|
| | | | | The most obvious way to compute the soft maximum can easily fail due to overflow or underflow. The soft maximum of x and y is defined by g(x, y) = log( exp(x) + exp(y) ). The most obvious way to turn the definition above into C code would be double SoftMaximum(double x, double y) { | |
| | | | |
ridiculousfish.com
|
|
| | | | | [AI summary] The blog post discusses improvements to a narrowing division algorithm, specifically focusing on optimizing the 'divlu' function from Hacker's Delight for faster and more efficient division of 4-digit numbers by 2-digit divisors. | |
| | | | |
palant.info
|
|
| | | Allowing password-based authentication without letting the server know the password is fascinating. Unfortunately, for web applications this doesn't solve any problems. | ||