comp.lang.ada
 help / color / mirror / Atom feed
From: rieachus@comcast.net
Subject: Re: Profiling Ada binaries
Date: Mon, 25 Jul 2016 15:05:02 -0700 (PDT)
Date: 2016-07-25T15:05:02-07:00	[thread overview]
Message-ID: <0b19f77c-7e5f-4918-8018-acd1f5e66a41@googlegroups.com> (raw)
In-Reply-To: <lyshuxk5cy.fsf@pushface.org>

On Monday, July 25, 2016 at 1:14:06 PM UTC-4, Simon Wright wrote:
> rieachus@comcast.net writes:
> 
> > Seriously, the math libraries are written with ease of understanding
> > in mind.
> 
> Like the rest of GNAT, then.

Actually, I was thinking of the original Generic Elementary Functions package and the other standard generic math packages.  These were the result of work for about a decade of NUMWG and were printed, not just packages specifications but bodies as well as special issues of Ada Letters.  Along the way the best algorithms known for many of the functions (in terms of least significant bit--lsb--errors) were improved several times.  And of course, the IEEE Floating Point standards were being improved at the same time, by some of the same people.

There is a lot to be said for using the (hardware) built-in GEF, and as I said, GNAT does let you get at the 32 and 64 bit IEEE floating point hardware.  You may not know that it is possible to access (still) the 80-bit IEEE Extended in x86 (or should that be x87 ;-) compatible CPUs, but not in 64-bit mode.  DEC VAXes had their own floating point formats including decent 128-bit versions. and so on.  Unless you do things like Mandelbrot or Julia sets, work with eigenvectors of large matrices, FFTs, or solve large linear programming problems, double precision is quite enough.

  reply	other threads:[~2016-07-25 22:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-22 13:24 Profiling Ada binaries Markus Schöpflin
2016-07-22 14:59 ` Alejandro R. Mosteo
2016-07-22 15:05   ` Alejandro R. Mosteo
2016-07-25  7:01     ` Markus Schöpflin
2016-07-25 16:45       ` rieachus
2016-07-25 17:14         ` Simon Wright
2016-07-25 22:05           ` rieachus [this message]
2016-07-26  8:37         ` Markus Schöpflin
2016-08-01 22:40           ` rieachus
2016-08-01 23:36             ` Jeffrey R. Carter
2016-08-02  7:00               ` Markus Schöpflin
2016-08-05  3:18               ` rieachus
2016-08-05 20:27                 ` Randy Brukardt
2016-08-02  6:39             ` Markus Schöpflin
2016-07-25  6:57   ` Markus Schöpflin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox