From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Sebastian Miele Newsgroups: gmane.lisp.guile.bugs Subject: bug#42012: Reference Manual and Docstring on number->string Date: Tue, 23 Jun 2020 00:51:23 +0200 Message-ID: <871rm6lno4.fsf@gmail.com> Reply-To: sebastian.miele@gmail.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="13758"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.10; emacs 26.3 To: 42012@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Jun 23 00:52:10 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jnVIQ-0003SS-1R for guile-bugs@m.gmane-mx.org; Tue, 23 Jun 2020 00:52:10 +0200 Original-Received: from localhost ([::1]:35212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnVIP-0002uQ-2K for guile-bugs@m.gmane-mx.org; Mon, 22 Jun 2020 18:52:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnVII-0002sU-6U for bug-guile@gnu.org; Mon, 22 Jun 2020 18:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnVIH-0003bH-Sh for bug-guile@gnu.org; Mon, 22 Jun 2020 18:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jnVIH-0004yT-Qs for bug-guile@gnu.org; Mon, 22 Jun 2020 18:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Miele Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 22 Jun 2020 22:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42012 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159286629219085 (code B ref -1); Mon, 22 Jun 2020 22:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Jun 2020 22:51:32 +0000 Original-Received: from localhost ([127.0.0.1]:34863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnVHo-0004xl-Nh for submit@debbugs.gnu.org; Mon, 22 Jun 2020 18:51:32 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnVHk-0004xa-Lg for submit@debbugs.gnu.org; Mon, 22 Jun 2020 18:51:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnVHk-0002MU-Cp for bug-guile@gnu.org; Mon, 22 Jun 2020 18:51:28 -0400 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:38877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnVHi-0003GT-UC for bug-guile@gnu.org; Mon, 22 Jun 2020 18:51:28 -0400 Original-Received: by mail-wr1-x42d.google.com with SMTP id z13so6713327wrw.5 for ; Mon, 22 Jun 2020 15:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:reply-to:message-id:date:mime-version; bh=z7So6MxrgX0mqZUhH7C//a2RZg/CacH7bhuXcLPXeJs=; b=iK3UJoaDSY4N3CROaugSk4ZAC6szI+rfamrkIvm11ZbV721dxvKcwStg/rvKcHsYN2 KABZLntd1zJFxbHpyqBpHomdBEnZ19jYnsvS/rNbzHg153IoP72QHENGuxAELdNNnXFE n3Zm/G53U3bLF7aksRtSRvp+Uid6YuVLdfZd3jjp3TqwoGM+AJsLrmWUlRsvLa9EMnCQ 0J5f3m1NhfsGNTB/s2T5A2iaUebx8ghm8omVyR6Zv5BLQMYfEpJmG3T+3UKEJMi7Jf2m k+tDxq+HdyOZomc/PMVY8ue4N9VaLS4M/YTWFpsX0u6vT2c2MZyl9D6EfgCYxA/VnukZ 6K4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:reply-to:message-id :date:mime-version; bh=z7So6MxrgX0mqZUhH7C//a2RZg/CacH7bhuXcLPXeJs=; b=Bcw7iQ9O0J2EDLdHdU+77PI8/juXoMS2Ivx9DCnHS4XbeiCVgPwgFccyHKj6Ks2St5 UKdSdG2UoJ7vxcbRKp4PPM/7n91q+PNVTOdt9qRnu5KzFHo5UKYddUimeLF8nl2uve5O pW8Mn0kax0v1R3IxYzsz7tv4gZwnoEMMsLonOCKgNajPGhRbbTvbEYCxGFv+3krIhBpe UxEPL2Gj1Bhns9BQJstZQBEE48omrcp86zEAL2xaeBsQ61yYqHroUOQ5OS7ZpLT2X8SD fIUtZ7XI0sZPPUmDShyYxjNxR38wPi1oe3UiOCM30j9tLNAp73dpWJ29Hido42tVox/u jcCg== X-Gm-Message-State: AOAM531TR5YpdMntzmT+AMoWdHvWtxhC7PcgAx4f0P7036g4KyzbLm2Q zeCIAXl+rWhkU7YSlkTtpVaPlj4M X-Google-Smtp-Source: ABdhPJzRln9qq1vRfwsHkb55dgx9Iel+CZpaQLcS/gnkVkOosEM7Hh1Lugfc2U3dzlW3bV/kINllEQ== X-Received: by 2002:adf:f18c:: with SMTP id h12mr20680585wro.375.1592866285221; Mon, 22 Jun 2020 15:51:25 -0700 (PDT) Original-Received: from huette ([2a02:908:175c:4260:33a6:b2b0:4ad5:928d]) by smtp.gmail.com with ESMTPSA id h18sm19690005wru.7.2020.06.22.15.51.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 15:51:24 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=sebastian.miele@gmail.com; helo=mail-wr1-x42d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9826 Archived-At: Guile 3.0.3. The reference manual and the docstring of number->string say: "If N is inexact, a radix of 10 will be used." But that is not what happens, e.g., (let ((x 4.0)) (and (inexact? x) (number->string x 3))) evaluates to "11.0" instead of #f or "4.0". Probably "if RADIX is not supplied, a radix of 10 will be used" is meant.