std.math performance (SSE vs. real)

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 28 04:00:28 PDT 2014


On Fri, 2014-06-27 at 15:04 +0200, dennis luehring via Digitalmars-d
wrote:
> Am 27.06.2014 14:20, schrieb Russel Winder via Digitalmars-d:
> > On Fri, 2014-06-27 at 11:10 +0000, John Colvin via Digitalmars-d wrote:
> > [
]
> >> I understand why the current situation exists. In 2000 x87 was
> >> the standard and the 80bit precision came for free.
> >
> > Real programmers have been using 128-bit floating point for decades. All
> > this namby-pamby 80-bit stuff is just an aberration and should never
> > have happened.
> 
> what consumer hardware and compiler supports 128-bit floating points?

None but what has that do do with the core problem being debated?

The core problem here is that no programming language has a proper type
system able to deal with hardware. C has a hack, Fortran as a less
problematic hack. Go insists on float32, float64, etc. which is better
but still not great.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140628/f080e17a/attachment.sig>


More information about the Digitalmars-d mailing list