For Programmers: Free Programming Magazines  


Home > Archive > Cobol > April 2008 > Re: Decimal versus binary arithmetic was Re: J4 - presentation/discussion on "Fu









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: Decimal versus binary arithmetic was Re: J4 - presentation/discussion on "Fu
tlmfru

2008-04-01, 6:56 pm


Clark F Morris <cfmpublic@ns.sympatico.ca> wrote in message
news:if05v3503beg04nonbeci3n8eqo2vill79@
4ax.com...[color=darkred]
> On Mon, 31 Mar 2008 22:37:12 -0600, Robert <no@e.mail> wrote:
>
<cfmpublic@ns.sympatico.ca> wrote:[color=darkred]
talk about 'binary[color=darkred]
point. Here's an[color=darkred]


He's right, you know.

0.2 (decimal) in binary = 1/8 + 1/16 + 1/128 + 1/256 ... = .00110011 ... =
0.19921875. etc. Obviously binary division is done by black magic
involving shifts & counts.

PL


Sponsored Links







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

Copyright 2008 codecomments.com