Calculate SIN and COS faster with inline assembly
Submitted By:
kristianlm
Rating:
(Not rated) (
Rate It)
Share:
By Email
Visit
Description
Inline assembly to speed up C++ code. Replacing double
sin(double), and double cos(double). This example will try take
use of the x86's fsincos command, which calcuales the sin and
the cos of a value. It's faster than calculating sin, and then
cos in two operations.
Comments (0)
Add Your Rating