To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 2628
2627  |  2629
Subject: 
8-bit floating-point number representations?
Newsgroups: 
lugnet.off-topic.geek
Date: 
Wed, 3 Jan 2001 17:28:54 GMT
Viewed: 
98 times
  
Anyone know of a good C library that efficiently implements conversion from
a processor-native 'double' floating-point precision number to some standard
form of an 8-bit floating-point number and back?  And a Perl5 library to go
with it?

An array of a million small real numbers could be stored in a one-megabyte
file on disk and then memory-mapped and shared by multiple processes as a
way of doing ultra-efficient lookups of document-specific weight factors.

--Todd



Message has 1 Reply:
  Re: 8-bit floating-point number representations?
 
(...) Hmm, 8 bit floating point numbers can't implement a very large range of numbers. How many bits of exponent were you planning on? I think conversion would probably actually be pretty easy since you will just take e bits of the exponent from the (...) (24 years ago, 3-Jan-01, to lugnet.off-topic.geek)

8 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR