Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: single-precision floats, etc.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-10-28 (16:20)
From: ortmann@u...
Subject: Re: single-precision floats, etc.

Just curious ... would single-precision floats have been accurate enough
for the ICFP programming contest?

And how fast might they have been?

Daniel Ortmann, IBM Circuit Technology, Rochester, MN 55901-7829 / internal 8.553.6795 / external 507.253.6795 home 507.288.7732

"The answers are so simple, and we all know where to look,
but it's easier just to avoid the question." -- Kansas

Chris Hecker <> on 10/24/2000 10:22:20 PM

Sent by:

To:   Charles Martin <>,
Subject:  Re: single-precision floats, etc.

>I would want single floats for space, not speed!

On today's architectures, size == speed.

Single precision is also still faster for things like divides, sqrts, and
whatnot.  And, as someone mentioned, the SIMD instruction sets are single
precision only (at least until Wilamette).  But yes, size is the biggest

I'm going to check out the Bigarray package and see how it performs,