Re: A86: decimal to fraction
[Prev][Next][Index][Thread]
Re: A86: decimal to fraction
> im writing a program right now (actually in basic but i will translate
> it to assembler) and i want to first check if a number is rational (can
> be turned into a fraction) and then be able to turn it into a fraction.
> Any help would be appreciated whether code snips or just how to do it.
I have a nice proggie that does it, but it doesn't check it. It just tries and
tells you what it got (if it could get anything). It did fractions, radicals,
and pi from 1 to 9999 in a matter of seconds (maybe minutes for
something like 9998pi/9999 or something).