From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: 1.75 -> 1-3/4 Date: Tue, 5 Jun 2018 19:00:01 +0200 Message-ID: <20180605170001.GA10655@tuxteam.de> References: <86lgbt4cb6.fsf@zoho.com> <87a7s9bcdc.fsf@iki.fi> <86bmcp45eb.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed X-Trace: blaine.gmane.org 1528217980 22797 195.159.176.226 (5 Jun 2018 16:59:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Jun 2018 16:59:40 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 05 18:59:36 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQFJ1-0005og-SL for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Jun 2018 18:59:36 +0200 Original-Received: from localhost ([::1]:48112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQFL9-0005vs-45 for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Jun 2018 13:01:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQFJZ-0005Jl-LC for help-gnu-emacs@gnu.org; Tue, 05 Jun 2018 13:00:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQFJT-0006F2-TF for help-gnu-emacs@gnu.org; Tue, 05 Jun 2018 13:00:09 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:53342) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQFJT-0006A5-Jo for help-gnu-emacs@gnu.org; Tue, 05 Jun 2018 13:00:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=AsQIJuTVohpCTHK6RnLJ/+g1RYzHJnfFvjFWbYtr6o0=; b=VXA2UfqVD7pM7uDhu/bPYZIbw5mpPdghBm4sLDA6tH8g2jEo+sfIR0Flr4QEFA1PzzRfuUrtLWz2SE6EFGv9aFfoGQVHHU0HMPEIaj2kj3s4ZnQBNplIcuj7eMNhngAYT6R7+QEZVnDSoNmhzxNHynTlrhn9O205epBpXxrgLty5kY8qu6GaSSSfhDIrBWfC+WeGhlHYuuhnIvn5w9TSWmQrjejmaUrls6XGvHUPRo1IPtILOMfBzPa3fYesoeGys97FHFEhcoJIa6kYPcOJTSe5DmzoGhJAZuN1J8mr+1Zm/I9NbI8CRsu6soZ3zgr3et0ElZ+6hrsyF3e7EdV8ew==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1fQFJR-0002ns-Gf for help-gnu-emacs@gnu.org; Tue, 05 Jun 2018 19:00:01 +0200 In-Reply-To: <86bmcp45eb.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116970 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Jun 05, 2018 at 05:30:52PM +0200, Emanuel Berg wrote: > tomas wrote: > > > scheme@(guile-user)> (inexact->exact 1.3333) > > $7 = 3002324691586541/2251799813685248 > > > > (yikes ;-) but... > > Ha ha :) > > > [1] > > https://www.emacswiki.org/emacs/RationalNumber > > Did you try it and get it to work for 1.75 -> 1-3/4? Well, as posted I'd expect 7/4, let's see... scheme@(guile-user)> (rationalize (inexact->exact 1.75) 1/1000) $1 = 7/4 So one'd need to muck around with floor and things... Cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlsWwZEACgkQBcgs9XrR2kZlNgCdHq55CXYx5hg2CWsNcVcKQ1uD KgwAnRCvmdVs8jxmD/8nbnoZhShNljUt =EDkQ -----END PGP SIGNATURE-----