|
Re: math.h library
Quote:
|
Originally Posted by deltacoder1020
you could always hardcode the bitshift for the division to make sure that the optimization is in, even if the compiler doesn't automatically do it - just replace "x / 16" with "x >> 4"
|
"x / 16" with "x >> 3"
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|