From owner-freebsd-questions Tue May 21 3:13:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from swirlee.ath.cx (ip68-1-168-63.ri.ri.cox.net [68.1.168.63]) by hub.freebsd.org (Postfix) with ESMTP id A4A7937B404 for ; Tue, 21 May 2002 03:13:14 -0700 (PDT) Received: by swirlee.ath.cx (Postfix, from userid 1000) id 8773924B; Tue, 21 May 2002 06:12:49 -0400 (EDT) Date: Tue, 21 May 2002 06:12:49 -0400 From: Lucas Wilcox To: Lucas Wilcox Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IEEE floating point g77 Message-ID: <20020521101249.GA66871@swirlee.ath.cx> References: <20020521032505.GA65781@swirlee.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020521032505.GA65781@swirlee.ath.cx> User-Agent: Mutt/1.3.28i X-Operating-System: FreeBSD swirlee.ath.cx 4.5-RELEASE FreeBSD 4.5-RELEASE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It turns out that I have to add d0 to the end of all the numbers. I move over from the sun fortran compiler which did not require this. I guess all the more reason to stick to the standards. Thanks, Lucas On Mon, May 20, 2002 at 11:25:05PM -0400, Lucas Wilcox wrote: > How do I set the floating-point precision to IEEE 754 double precision or > IEEE 854 extended precision in g77? The default seems to be single > precision. I am looking for something like fpsetprec from ieeefp.h. > Thanks for your help, > Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message