1.
CodeMaestro » Implementing Callback Functions Using Delegates in C++
Dec 16, 2005 ... As a rule of thumb, use the ideas of the following code whenever you want to implement a callback function in C++ and you won’t get ...
2.
CodeMaestro » Magical Square Root Implementation In Quake III
The general idea behind Newton’s approximation is that whenever we have a guess y for the value of the square root of a number x, we can perform a simple ...
3.
CodeMaestro » Optimizing Singletons With Double Checks
Code Maestro - The Coding Experience: All about source code that really makes you excited. CodeMaestro is not another developers' reference site.
4.
CodeMaestro » Implementing Callback Functions Using Delegates in C++
Dec 16, 2005 ... Implementing a C++ delegates consist of a few simple tasks. The following example illustrates how to create and use a delegate of a function ...
5.
CodeMaestro » Loop Unrolling with Duff’s Device
Jul 30, 2005 ... Tom Duff (link below) was the first to discover it in 1983 while working in Lucas Films, and proudly named it “Duff’s Device”. ...
6.
CodeMaestro » Magical Square Root Implementation In Quake III
Comment by Graeme E. Smith — November 23, 2007 @ 10:26 am. […] CodeMaestro: Magical Square Root Implementation in Quake III […] ...
7.
CodeMaestro » Magical Square Root Implementation In Quake III
This time it is used for calculating the square root of a float - sqrt(x). .... felt about C was it seemed to encourage you figure out or use cool tricks. ...
8.
CodeMaestro » Magical Square Root Implementation In Quake III
This time it is used for calculating the square root of a float - sqrt(x). .... felt about C was it seemed to encourage you figure out or use cool tricks. ...
9.
CodeMaestro » Magical Square Root Implementation In Quake III
Hence, dividing the input by 2 and subtracting it from the magic constant. This constant works almost perfectly - Only one Newton approximation iteration is ...
10.
CodeMaestro » Magical Square Root Implementation In Quake III
In the article “Fast Inverse Square Root” [2] , mathematician Chris Lomont of Purdue University researches the meaning of this magic constant. ...