INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

HANDLE


PASSWORD
Remember Me
Forgot Password?

Come Join Us!

  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • Turn Off Ad Banners
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

E-mail*
Handle

Password
Verify P'word
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Member Feedback

"...The forum looks great! You guys have done a fantastic job on arranging things there...Your site is very precise and fun to visit..."

Geography

Where in the world do Tek-Tips members come from?

 Codewarrior predefined value of pi

Jeeembo (Programmer)
20 Jan 03 0:52
is there a predefined value of pi avaliable in Metrowerks Codewarrior??
Zyrenthian (Programmer)
20 Jan 03 8:02
if there is not, you can always go with 22/7.

const double PI = 22/7;

<Matt
Helpful Member!qednick (Programmer)
20 Jan 03 11:20
or

#define PI  3.141592653589793238462643383279


programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.
xwb (Programmer)
21 Jan 03 2:49
No there isn't.  355/113 is a good enough approximation for most engineering problems (6 digits) but for greater accuracy, take qednick's suggestion.

Start A New Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Promoting, selling, recruiting and student posting
are not allowed in the forums.
Posting Policies

LINK TO THIS FORUM!
(Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum)
TITLE: C++: Microsoft Forum at Tek-Tips
URL: http://www.tek-tips.com/threadminder.cfm?pid=207
DESCRIPTION: C++: Microsoft technical support forum and mutual help system for computer professionals. Selling and recruiting forbidden.

 

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close