Fixed-point math in C
Keywords: C language fixed-point math algorithm integer functions
[Summary of tips] When adding, subtracting, or performing logical comparisons on two variables with different-resolution fixed-point numbers, first scale the different resolution number to the same resolution as the result. Listing 4 shows a small routine that performs some mixed operations and prints the results. This routine performs the same ......|
Already registered? Login to view complete content.
|
|
||||||||||||||
|
||||||||||||||
Strange modes of transport and other "stuff"
Someone just pointed me at a YouTube video that claims to show the world's first e-powered multicopter flight...















