For Programmers: Free Programming Magazines  


Home > Archive > ASM370 > May 2006 > Re: S/360









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: S/360
glen herrmannsfeldt

2006-05-28, 6:57 pm

robin wrote:

(snip)

> The precision of S/390 is 21 bits or 53 bits.
> You don't lose this precision on division by 4.


The precision is between 21 and 24 for short, and between
56 and 53 for long. The algorithms for the most libraries
were designed not to lose precision unnecessarily.

0.9 has 24 bits of precision in short float. Divide it by
four and it loses two bits. Multiply or divide the result by four
and you don't gain them back again, though the bits are again
available. That is precision loss.

-- glen

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com