From 8263140100409370798
X-Google-Thread: f78e5,4ba9dcb1ae436e16
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news1.google.com!news.glorb.com!transit.nntp.hccnet.nl!news.cambrium.nl!news.cambrium.nl!proxad.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull
From: ab4ds@hotmail.com ("adeht")
Newsgroups: comp.std.c++
Subject: Re: Pi, Euler Number, and perhaps other 'natural' constants?
Date: Wed, 28 Jul 2004 16:23:41 GMT
Organization: Bezeq International Ltd.
Lines: 13
Sender: mail2news@demon.net
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <4107787c@news.bezeqint.net>
References: <5cydnSisJNo4yJncRVn-sQ@speakeasy.net> <ce5ais$f50$1@news.inter.net.il> <mrvNc.3129$AY5.1919@newssvr21.news.prodigy.com>
NNTP-Posting-Host: news.news.demon.net
X-Trace: news.demon.co.uk 1091031826 20422 158.152.254.254 (28 Jul 2004 16:23:46 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Wed, 28 Jul 2004 16:23:46 +0000 (UTC)
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Priority: 3
X-Original-NNTP-Posting-Host: bzq-218-216-131.red.bezeqint.net
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id i6SGNfIV020928;
	Thu, 29 Jul 2004 02:23:41 +1000 (EST)
X-Path: comp-std-cpp-robomod!not-for-mail
X-Delivered-To: std-c++@ucar.edu
X-Spamscanner: mailbox1.ucsd.edu  (v1.4 May 20 2004 13:55:33, 3.2/5.0 2.63)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-ESAFE-STATUS: Mail clean
X-Original-Trace: 28 Jul 2004 12:57:16 +0300, bzq-218-216-131.red.bezeqint.net
X-ESAFE-DETAILS: Clean
X-Spam-Checker-Version: SpamAssassin 2.60-mulga_r1 (1.212-2003-09-23-exp) on 
	mulga.cs.mu.OZ.AU
X-Spam-Status: No, hits=-0.8 required=5.2 tests=AWL,BAYES_00,
	FORGED_HOTMAIL_RCVD2,PRIORITY_NO_NAME autolearn=no 
	version=2.60-mulga_r1
X-MSMail-Priority: Normal
X-Spam-Level: 
X-Newsgroups: comp.std.c++
X-MailScanner: PASSED (v1.2.8 57504 i6S9ufB2071660 mailbox1.ucsd.edu)
Xref: g2news1.google.com comp.std.c++:1475

A function getpi() might be better than a double, since
some architectures have an instruction for loading the Pi
value (i.e. FLDPI on IA32).

Both a double and getpi() are not constant expressions though.
To do that, we need the preprocessor.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



