Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!a23g2000hsc.googlegroups.com!not-for-mail
From: Greg Heath <heath@alumni.brown.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Largest Common Factor
Date: Wed, 30 Apr 2008 09:01:39 -0700 (PDT)
Organization: http://groups.google.com
Lines: 12
Message-ID: <99c0cc9a-d474-4009-b375-42c017c876e9@a23g2000hsc.googlegroups.com>
References: <fv8j8a$2j8$1@fred.mathworks.com> <19640430.1209534092123.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: 69.141.173.117
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1209571300 7310 127.0.0.1 (30 Apr 2008 16:01:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 30 Apr 2008 16:01:40 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: a23g2000hsc.googlegroups.com; posting-host=69.141.173.117; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; 
Xref: news.mathworks.com comp.soft-sys.matlab:465963


On Apr 30, 1:41=A0am, Yumnam Kirani Singh <kirani.si...@gmail.com>
wrote:
> Largest common factor is defined only for integers not for floating point =
numbers. See hep on gcd.

For my purposes I can truncate FP numbers to any
practical precision then multiply by the appropriate power
of 10 to get integers.

Thanks.

Greg