From owner-freebsd-fortran@FreeBSD.ORG Thu Oct 9 22:34:32 2014 Return-Path: Delivered-To: freebsd-fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD4AD762 for ; Thu, 9 Oct 2014 22:34:32 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask.apl.washington.edu", Issuer "troutmask.apl.washington.edu" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A033878D for ; Thu, 9 Oct 2014 22:34:32 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id s99MYQ2Z067876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 9 Oct 2014 15:34:26 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id s99MYPFu067875; Thu, 9 Oct 2014 15:34:25 -0700 (PDT) (envelope-from sgk) Date: Thu, 9 Oct 2014 15:34:25 -0700 From: Steve Kargl To: Walter Subject: Re: 128-bit floats Message-ID: <20141009223425.GA67845@troutmask.apl.washington.edu> References: <201410060832.s968WCLm095448@mech-as221.men.bris.ac.uk> <54331392.9040808@saveouraquifer.org> <20141006233011.GA14956@troutmask.apl.washington.edu> <5437010E.7080200@saveouraquifer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5437010E.7080200@saveouraquifer.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-fortran@freebsd.org X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2014 22:34:32 -0000 On Thu, Oct 09, 2014 at 05:41:34PM -0400, Walter wrote: > On 10/6/14, 7:30 PM, Steve Kargl wrote: > > > > 128-bit floating point should work without a hitch (knock on wood). > > Just install lang/gcc. Look for /usr/local/bin/gfortranXX where XX > > is 47 or 48 and off you go. > > Thanks, Steve. After the installs, and resolving the "ld: library not > found for -lc" error, I got the code to compile. After I get a data > set together, I'll know if it runs. Odd. gfortran should be able to find libc. I would need to see how you are building things. > Maybe this is a bit premature, but the code might be more robust (I'm > not the developer/mathematician) using 256-bit floats. Are such things > available? Not as a implicit type. Asumming a i386 or x86_64 class cpu, gfortran will give you real(4), real(8), real(10), and real(16). These are 32, 64, 80, and 128 bit floating point types. You you need more precision, then netlib is your friend. http://www.netlib.org/mpfun/index.html -- Steve