[CSC 335] Short Float Machine Number

Andrew J. Pounds pounds_aj at mercer.edu
Sun Sep 27 16:12:00 EDT 2015


In class on Thursday I started to show my method for determining the 
best short float machine number for $\pi$. There was a question about 
how one would represent zero because the IEEE standard states

$(-1)^s2^{c-\beta}(1+f)$

Since $c$ and $f$ are either zero or a positive value, a quick 
inspection reveals that the expression can never equal zero.  I had to 
go check the IEEE standard (and your text) to confirm my suspicions.  
Zero is DEFINED as $c=0$ and $f=0$. Oddly enough, the IEEE standard 
allows for a POSITIVE zero (when s=0) and a NEGATIVE zero (when s=1).

Now that this issue is cleared up, my original solution should still 
stand.   It is posted on the class website.



-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20150927/d9b89cf5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-6.png
Type: image/png
Size: 479 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20150927/d9b89cf5/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-5.png
Type: image/png
Size: 1171 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20150927/d9b89cf5/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-4.png
Type: image/png
Size: 467 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20150927/d9b89cf5/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-3.png
Type: image/png
Size: 511 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20150927/d9b89cf5/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-2.png
Type: image/png
Size: 587 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20150927/d9b89cf5/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-1.png
Type: image/png
Size: 637 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20150927/d9b89cf5/attachment-0005.png>


More information about the csc335 mailing list