On Thu, May 30, 2019 at 12:10:37PM +0200, Konrad Hinsen wrote:
> Am 29.05.19 um 17:52 schrieb Matthew Flatt:
> 
> > Does anyone use single-flonums in Racket?
> 
> Right now, no, but I have used them briefly in a past project, for testing
> the impact of single-precision on a numerical algorithm.
> 
> The main reason to use single-precision floats nowadays is cutting memory
> use in half, both because it is sometimes a scarce resource and because a
> smaller memory footprint means better cache utilisation. Single-precision
> arrays thus matter more than individual numbers. I have even seen
> half-precision floats being used for the same reason. With the current
> interest in "big data" and machine learning, I expect this tendency to
> increase.

Way back in the 60's, on a decimal computer, when memories were small, a 
friend reduced floating point precision to two digits in order to save 
space.  Two digits isn't much, but it ws enough.

-- hendrik

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20190530103744.j2l7kmog7xznu6pr%40topoi.pooq.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to