From owner-freebsd-questions@FreeBSD.ORG Tue Oct 23 04:31:20 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 91DEB390 for ; Tue, 23 Oct 2012 04:31:20 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 23AF38FC08 for ; Tue, 23 Oct 2012 04:31:19 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id 16so2778815wgi.31 for ; Mon, 22 Oct 2012 21:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ku65+sJQMFxbz+e7g2Y6HWTIYjyOpjRcJItuvih/FLI=; b=NCJHQm4dixRk81VBaW1r+z1K+1jX8PLt+5KYv7az6F4nz0ORW6+USlkMYdOZtSsOtC 9mw0v58Kfsfpp0aw6tyJy7c1G/0cEobc5itwmzlVBFKgKxxuxa+kLD58MPspA9C5WNjo rlaNV5CwmWCaDJC782jNZ1ECa7yyS6Rotxuf4u2ILUjSqnnKSnzEwqALzV6pbgQYwD7w u8vyE/dMXbc89u19jFSqoJlO34rMEWEzr+OzNq+LxosnMzNRmOgl0u6Srv4FAlOGbgiR Lbz6x7H2aw66Q/cLhTTZqb/5vp17J5PFluXuIceODj2ML4n4DYjdyvFmeCRnVBop+Bwj ieeg== MIME-Version: 1.0 Received: by 10.216.53.204 with SMTP id g54mr5876394wec.122.1350966678985; Mon, 22 Oct 2012 21:31:18 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.223.58.1 with HTTP; Mon, 22 Oct 2012 21:31:18 -0700 (PDT) In-Reply-To: <20121023042007.GA14738@ethic.thought.org> References: <20121023042007.GA14738@ethic.thought.org> Date: Tue, 23 Oct 2012 11:31:18 +0700 X-Google-Sender-Auth: yi4ao1Ajl_A921TGyzX0mmx7TZg Message-ID: Subject: Re: way way off topic From: Olivier Nicole To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 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 04:31:20 -0000 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 > 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"