Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 1999 08:56:17 -0500
From:      "G. Adam Stanislav" <adam@whizkidtech.net>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        chat@FreeBSD.ORG
Subject:   Re: Changing the value of Pi
Message-ID:  <19990730085617.B228@whizkidtech.net>
In-Reply-To: <xzp7lni32ur.fsf@flood.ping.uio.no>; from Dag-Erling Smorgrav on Fri, Jul 30, 1999 at 11:26:36AM %2B0200
References:  <Pine.BSF.4.10.9907291008390.13541-100000@janus.syracuse.net> <199907291156.NAA06494@labinfo.iet.unipi.it> <19990730093259.A93194@freebie.lemis.com> <199907300302.XAA15392@khavrinen.lcs.mit.edu> <xzp7lni32ur.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 30, 1999 at 11:26:36AM +0200, Dag-Erling Smorgrav wrote:
> Even if you manage to get them all to agree on one specific value
> (say, 3.14159265359), what are you going to do if you decide to port
> your application to a different system which has higher floating-point
> precision and want to use a more precise value of pi? Search-replace
> throughout the entire source tree?

Is this a trick question? You should just change one occurence in an
include file and run make.

Adam


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990730085617.B228>