From owner-freebsd-questions@FreeBSD.ORG Tue Oct 23 22:38:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85B22490 for ; Tue, 23 Oct 2012 22:38:47 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa08-09.prod.phx3.secureserver.net (p3plsmtpa08-09.prod.phx3.secureserver.net [173.201.193.110]) by mx1.freebsd.org (Postfix) with SMTP id 555E38FC12 for ; Tue, 23 Oct 2012 22:38:47 +0000 (UTC) Received: (qmail 12534 invoked from network); 23 Oct 2012 22:32:07 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa08-09.prod.phx3.secureserver.net (173.201.193.110) with ESMTP; 23 Oct 2012 22:32:06 -0000 Date: Tue, 23 Oct 2012 15:32:06 -0700 From: Gary Kline To: Olivier Nicole Subject: Re: way way off topic Message-ID: <20121023223205.GD29440@ethic.thought.org> References: <20121023042007.GA14738@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 22:38:47 -0000 On Tue, Oct 23, 2012 at 11:31:18AM +0700, Olivier Nicole wrote: > Gary, > > On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline wrote: > > > > apologies up front for this math type quandary. I had it in a std C program, > > but 3+ hours of grepping havent found it. I would have bet my last cent that I > > had a summary Somewhere, but cant find that either. > > > > here is the problem as best I can remember it. > > > > > > let's say that john is 8 and his older friend, jim, is 22. > > how much older is exact percentage terms is jim? > > That should be 22/8=2.75 > Jim is 275% older than John > > Olivier > thanks. but this wasn't the formula I remember mousing down. I'll keep looking. gary ps: it was involved; something with three or more steps. things that I had crammed together in one line of C... > > to find the answer I had to find the relative difference {22 - 8} and then > > do something with the difference. this isn't any kind of trick or > > "advanced-cognition"; I just thought it was clever [and exact]. it obviously > > works for finding the abs() results in subtraction. it's something I found on > > the web and swipes and save the prose discussion. BZZT: Lost, :-( > > > > if this seems dumb, I plead guilty! > > > > im asking here because -questions is the sharpest list on the net. > > > > -- > > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > > Twenty-six years of service to the Unix community. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community.