Thread
:
Compiler Help Needed
View Single Post
#
12
08-02-2004, 02:05
Random Dude
Oregon State Head FTA
AKA: Chris
no team (Oregon Robotics Tournament & Outreach Program)
Join Date: Aug 2002
Rookie Year: 1998
Location: Oregon
Posts: 142
Re: Compiler Help Needed
Quote:
Originally Posted by
Jeff McCune
As an example, when using a microcontroller, using this:
#define PI (22 / 7)
is *considerably* faster than using 3.14159... and it gives a fairly decent approximation.
Umm.. But (22/7) evaluates to (3).
Random Dude
View Public Profile
Find all posts by Random Dude
Find CD-Media Photos by Random Dude
Find CD-Media Papers by Random Dude