Posted: Thu Oct 28, 2010 9:06 am Post subject: Decimal Places
hey
i was wondering how you could create a division statement that would give you many decimal places
like 1000+
or how to make a program where you can specify the decimal place
or
where you can have an infinite number of decimals without rounding
any help would be appreciated
the largest number of decimals that we have achieved is an 8 bit chunk
equal to roughly 256 decimal places
using turing 4.1.1
Sponsor Sponsor
A.J
Posted: Thu Oct 28, 2010 1:56 pm Post subject: RE:Decimal Places
Well, you could create a program that does the division like you would on paper (i.e. the 'long' division method). In that way, you can get how many ever decimal places you want (well, until there's a cycle).
DtY
Posted: Thu Oct 28, 2010 5:00 pm Post subject: Re: RE:Decimal Places
A.J @ Thu Oct 28, 2010 1:56 pm wrote:
Well, you could create a program that does the division like you would on paper (i.e. the 'long' division method). In that way, you can get how many ever decimal places you want (well, until there's a cycle).
Also, storing infinite amounts of data is really worthwhile, too much storage.
SNIPERDUDE
Posted: Fri Oct 29, 2010 12:10 am Post subject: RE:Decimal Places
If one is just curious about the answer, I'd use that function and have it store it piece at a time in a text file.
mirhagk
Posted: Sat Nov 06, 2010 11:47 pm Post subject: RE:Decimal Places
I worked on a fraction calculator a while ago, it allowed for 100% right answers, and they could be evalauted to as many decimals as you want to display or w/e
DtY
Posted: Sun Nov 07, 2010 8:10 am Post subject: Re: RE:Decimal Places
SNIPERDUDE @ Fri Oct 29, 2010 12:10 am wrote:
If one is just curious about the answer, I'd use that function and have it store it piece at a time in a text file.
It wouldn't really matter, since every division of rational numbers will produce a rational number, which must either either terminates or repeat in decimal form.