Skip Menu |
 

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 104450
Status: rejected
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: dwheeler [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



MIME-Version: 1.0 (Mac OS X Mail 8.2 \(2100\))
X-Spam-Status: No, score=-2.959 tagged_above=-99.9 required=10 tests=[AWL=-1.059, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
X-Mailer: Apple Mail (2.2100)
X-Spam-Flag: NO
Message-ID: <DC2CD9D0-795B-4266-A5FD-AD84CEDDDE23 [...] cpan.org>
content-type: text/plain; charset="utf-8"
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.959
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 5F21E240459 for <cpan-bug+math-bigint [...] hipster.bestpractical.com>; Thu, 14 May 2015 16:26:43 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95FCmiu8q0HA for <cpan-bug+math-bigint [...] hipster.bestpractical.com>; Thu, 14 May 2015 16:26:41 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 6FFAD240420 for <bug-math-bigint [...] rt.cpan.org>; Thu, 14 May 2015 16:26:41 -0400 (EDT)
Received: (qmail 27593 invoked by alias); 14 May 2015 20:26:40 -0000
Received: from pb-smtp1.int.icgroup.com (HELO sasl.smtp.pobox.com) (208.72.237.35) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 14 May 2015 13:26:29 -0700
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 9C32C5295C for <bug-math-bigint [...] rt.cpan.org>; Thu, 14 May 2015 16:26:25 -0400 (EDT)
Received: from pb-smtp1.int.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 941775295A for <bug-math-bigint [...] rt.cpan.org>; Thu, 14 May 2015 16:26:25 -0400 (EDT)
Received: from dwhee-ma-2944.iovation.com (unknown [74.121.28.6]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 0FDD252959 for <bug-math-bigint [...] rt.cpan.org>; Thu, 14 May 2015 16:26:24 -0400 (EDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Delivered-To: cpan-bug+math-bigint [...] hipster.bestpractical.com
Subject: Math::BigFloat Missing stringify method
Return-Path: <dwheeler [...] cpan.org>
X-RT-Mail-Extension: math-bigint
X-Original-To: cpan-bug+math-bigint [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from :content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; s=sasl; bh=7IrPxu7DdLNk6N1joAN+bUAKxu4=; b=rS2 Bs78LrqZSdA2f9bggn3/rfbyNSWPXoEC0RsP0WI7gHxzoBMNPvkgzcLuMNtMIjc5 ket37e94WPbiM5USwpsppSAckwCKKqAWy0Ri7dJq9MWFgKFsMb3E2zg2W3RmSn1j oxM7c5ScEuV2TspIE1pfuDabAc5o6gpzim+4t/pQ=
Date: Thu, 14 May 2015 13:26:28 -0700
X-Spam-Level:
To: bug-math-bigint [...] rt.cpan.org
X-Pobox-Relay-ID: 7E19C4BE-FA77-11E4-BE43-E49F9F42C9D4-76319746!pb-smtp1.pobox.com
Content-Transfer-Encoding: quoted-printable
From: "David E. Wheeler" <dwheeler [...] cpan.org>
X-RT-Original-Encoding: ascii
X-RT-Interface: Email
Content-Length: 345
Download (untitled) / with headers
text/plain 345b
The stringify method is mentioned in the Math::BigFloat docs in a few places, but does not seem to exist: $ perl -MMath::BigFloat -E 'say Math::BigFloat->VERSION' 1.9993 $ perl -MMath::BigFloat -E 'say Math::BigFloat->new("10")->stringify' Can't call Math::BigFloat->stringify, not a valid method at -e line 1.
MIME-Version: 1.0
In-Reply-To: <DC2CD9D0-795B-4266-A5FD-AD84CEDDDE23 [...] cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <DC2CD9D0-795B-4266-A5FD-AD84CEDDDE23 [...] cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-24051-1431949040-1790.104450-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 218
Download (untitled) / with headers
text/plain 218b
When stringify is mentioned, it does not refer to a method, but to the overloaded "", i.e., what happens when you do "$x" and $x isa Math::BigFloat. The documentation could be clearer, so I am leaving this ticket open.
MIME-Version: 1.0 (Mac OS X Mail 8.2 \(2100\))
X-Spam-Status: No, score=-4.9 tagged_above=-99.9 required=10 tests=[AWL=1.000, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_OUR_RT=-4, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
In-Reply-To: <rt-4.0.18-24051-1431949041-681.104450-6-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.2100)
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-104450 [...] rt.cpan.org> <DC2CD9D0-795B-4266-A5FD-AD84CEDDDE23 [...] cpan.org> <rt-4.0.18-24051-1431949041-681.104450-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
content-type: text/plain; charset="utf-8"
Message-ID: <406F0DB0-1BDE-4C4F-B197-A72190F62D0C [...] cpan.org>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -4.9
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 4E88F240404 for <cpan-bug+Math-BigInt [...] hipster.bestpractical.com>; Mon, 18 May 2015 12:13:13 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y5KfH-9kRV9U for <cpan-bug+Math-BigInt [...] hipster.bestpractical.com>; Mon, 18 May 2015 12:13:07 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id EC3702403F4 for <bug-Math-BigInt [...] rt.cpan.org>; Mon, 18 May 2015 12:13:06 -0400 (EDT)
Received: (qmail 2970 invoked by alias); 18 May 2015 16:13:05 -0000
Received: from pb-smtp1.int.icgroup.com (HELO sasl.smtp.pobox.com) (208.72.237.35) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 18 May 2015 09:13:03 -0700
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 6D0754FEE5 for <bug-Math-BigInt [...] rt.cpan.org>; Mon, 18 May 2015 12:12:59 -0400 (EDT)
Received: from pb-smtp1.int.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 5AC4A4FEE4 for <bug-Math-BigInt [...] rt.cpan.org>; Mon, 18 May 2015 12:12:59 -0400 (EDT)
Received: from dwhee-ma-2944.iovation.com (unknown [74.121.28.6]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id B88B64FEE2 for <bug-Math-BigInt [...] rt.cpan.org>; Mon, 18 May 2015 12:12:58 -0400 (EDT)
Delivered-To: cpan-bug+Math-BigInt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #104450] Math::BigFloat Missing stringify method
Return-Path: <dwheeler [...] cpan.org>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s=sasl; bh= Ul0u7zJkMvMZcmIFxRlUkfPEjT8=; b=rXJfzn9DmWilK8UP8HergMfr8Ug7Rlfb JZOml1URVOZyfFyL85gWVM0FqY/trAgLcJOOAMCjSJmXyWEoB0Dz+2nVoGMo486S 8Zz7aP/OWgAkrpCT0XEwhhPlPE3V88bmuXTqtJB9oZvd19ZvAmdV+6NqTFNRQzWE MNDx6C891Ts=
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Math-BigInt [...] hipster.bestpractical.com
X-RT-Mail-Extension: math-bigint
Date: Mon, 18 May 2015 09:12:57 -0700
X-Spam-Level:
To: bug-Math-BigInt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-Pobox-Relay-ID: C0150AA0-FD78-11E4-A641-E49F9F42C9D4-76319746!pb-smtp1.pobox.com
From: "David E. Wheeler" <dwheeler [...] cpan.org>
RT-Message-ID: <rt-4.0.18-22274-1431965594-127.104450-0-0 [...] rt.cpan.org>
Content-Length: 480
Download (untitled) / with headers
text/plain 480b
On May 18, 2015, at 4:37 AM, Peter John Acklam via RT <bug-Math-BigInt@rt.cpan.org> wrote: Show quoted text
> When stringify is mentioned, it does not refer to a method, but to the overloaded "", i.e., what happens when you do "$x" and $x isa Math::BigFloat. The documentation could be clearer, so I am leaving this ticket open.
Ah, I see. Is there a method that can be called that does stringification, or does one need to `'' . $num`? A `stringify()` or `as_string()` method would be handy.
MIME-Version: 1.0
X-Spam-Status: No, score=-5.011 tagged_above=-99.9 required=10 tests=[AWL=1.589, BAYES_00=-1.9, FROM_OUR_RT=-4, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-22274-1431965594-896.104450-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-104450 [...] rt.cpan.org> <DC2CD9D0-795B-4266-A5FD-AD84CEDDDE23 [...] cpan.org> <rt-4.0.18-24051-1431949041-681.104450-6-0 [...] rt.cpan.org> <406F0DB0-1BDE-4C4F-B197-A72190F62D0C [...] cpan.org> <rt-4.0.18-22274-1431965594-896.104450-5-0 [...] rt.cpan.org>
Importance: Normal
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <97b53d39f2520bb9e43a532d52cd7699.squirrel [...] sm.webmail.pair.com>
Reply-To: nospam-abuse [...] bloodgate.com
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.011
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 01C632403E8 for <cpan-bug+Math-BigInt [...] hipster.bestpractical.com>; Mon, 18 May 2015 13:02:48 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gdu96TA73lmF for <cpan-bug+Math-BigInt [...] hipster.bestpractical.com>; Mon, 18 May 2015 13:02:47 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A04D02400EE for <bug-Math-BigInt [...] rt.cpan.org>; Mon, 18 May 2015 13:02:46 -0400 (EDT)
Received: (qmail 6603 invoked by alias); 18 May 2015 17:02:46 -0000
Received: from www2.webmail.pair.com (HELO www2.webmail.pair.com) (66.39.3.96) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 18 May 2015 10:02:37 -0700
Received: by www2.webmail.pair.com (Postfix, from userid 65534) id D1AB267C18; Mon, 18 May 2015 13:02:32 -0400 (EDT)
Received: from 84.136.197.91 ([84.136.197.91]) (SquirrelMail authenticated user te_123 [...] bloodgate.com) by sm.webmail.pair.com with HTTP; Mon, 18 May 2015 13:02:32 -0400
Delivered-To: cpan-bug+Math-BigInt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #104450] Math::BigFloat Missing stringify method
User-Agent: SquirrelMail/1.4.22 [SVN]
Return-Path: <nospam-abuse [...] bloodgate.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Math-BigInt [...] hipster.bestpractical.com
X-RT-Mail-Extension: math-bigint
X-Priority: 3 (Normal)
Date: Mon, 18 May 2015 13:02:32 -0400
X-Spam-Level:
To: bug-Math-BigInt [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: "Tels" <nospam-abuse [...] bloodgate.com>
RT-Message-ID: <rt-4.0.18-9202-1431968569-1078.104450-0-0 [...] rt.cpan.org>
Content-Length: 801
Download (untitled) / with headers
text/plain 801b
On Mon, May 18, 2015 12:13 pm, David Wheeler via RT wrote: Show quoted text
> Queue: Math-BigInt > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=104450 > > > On May 18, 2015, at 4:37 AM, Peter John Acklam via RT > <bug-Math-BigInt@rt.cpan.org> wrote: >
>> When stringify is mentioned, it does not refer to a method, but to the >> overloaded "", i.e., what happens when you do "$x" and $x isa >> Math::BigFloat. The documentation could be clearer, so I am leaving this >> ticket open.
> > Ah, I see. Is there a method that can be called that does stringification, > or does one need to `'' . $num`? A `stringify()` or `as_string()` method > would be handy.
perl -MMath::BigFloat -wle 'print Math::BigFloat->new(12.123)->bstr()' 12.123 :) All the best, Tels -- http://bloodgate.com/galleries/
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-22274-1431965594-127.104450-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-104450 [...] rt.cpan.org> <DC2CD9D0-795B-4266-A5FD-AD84CEDDDE23 [...] cpan.org> <rt-4.0.18-24051-1431949041-681.104450-6-0 [...] rt.cpan.org> <406F0DB0-1BDE-4C4F-B197-A72190F62D0C [...] cpan.org> <rt-4.0.18-22274-1431965594-127.104450-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-5097-1431968606-906.104450-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 107
Download (untitled) / with headers
text/plain 107b
There is bstr() and bsstr(). I plan to add more methods, but bug fixing has higher priority at the moment.
MIME-Version: 1.0
In-Reply-To: <DC2CD9D0-795B-4266-A5FD-AD84CEDDDE23 [...] cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <DC2CD9D0-795B-4266-A5FD-AD84CEDDDE23 [...] cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-4519-1451994550-296.104450-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 70
This is not a bug, but rather a misunderstanding of the documentation.
MIME-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
X-Spam-Status: No, score=-5.467 tagged_above=-99.9 required=10 tests=[AWL=1.133, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_OUR_RT=-4, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-4519-1451994550-1672.104450-6-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.3112)
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-104450 [...] rt.cpan.org> <DC2CD9D0-795B-4266-A5FD-AD84CEDDDE23 [...] cpan.org> <rt-4.0.18-4519-1451994550-1672.104450-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
content-type: text/plain; charset="utf-8"
Message-ID: <12A92A51-80A3-41AB-AE0D-93CB3CC9EA4E [...] cpan.org>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.467
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 20F55240346 for <cpan-bug+Math-BigInt [...] hipster.bestpractical.com>; Tue, 5 Jan 2016 12:48:21 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65TAI70eu3rn for <cpan-bug+Math-BigInt [...] hipster.bestpractical.com>; Tue, 5 Jan 2016 12:48:20 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D2E6924032C for <bug-Math-BigInt [...] rt.cpan.org>; Tue, 5 Jan 2016 12:48:19 -0500 (EST)
Received: (qmail 32326 invoked by alias); 5 Jan 2016 17:48:19 -0000
Received: from pb-smtp0.int.icgroup.com (HELO sasl.smtp.pobox.com) (208.72.237.35) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 05 Jan 2016 09:48:17 -0800
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp0.pobox.com (Postfix) with ESMTP id C47E036D7C for <bug-Math-BigInt [...] rt.cpan.org>; Tue, 5 Jan 2016 12:48:11 -0500 (EST)
Received: from pb-smtp0.int.icgroup.com (unknown [127.0.0.1]) by pb-smtp0.pobox.com (Postfix) with ESMTP id BBDBA36D7A for <bug-Math-BigInt [...] rt.cpan.org>; Tue, 5 Jan 2016 12:48:11 -0500 (EST)
Received: from dwhee-ma-2944.iovation.com (unknown [74.121.28.6]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-smtp0.pobox.com (Postfix) with ESMTPSA id 19BBB36D75 for <bug-Math-BigInt [...] rt.cpan.org>; Tue, 5 Jan 2016 12:48:11 -0500 (EST)
Delivered-To: cpan-bug+Math-BigInt [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #104450] Math::BigFloat Missing stringify method
Return-Path: <dwheeler [...] cpan.org>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s=sasl; bh= 5CCI1zrSsf4nZVvfsUPwEA9m5BA=; b=eG5IEdRQOvXlBqNVIK7wqGSRltINX4Ku tm8j5IiqeSvEGPeiSno1gBshdddgDwtD2lyggfSFXEFOaVpgUeJu+04rKtVXJHyg WgODlhtHdESryXdFA/PPyQ9jBrUrKchxKNZYdO/rO7bCAbj8YAiUem/e7YVSbWP8 9lpcqp+9uCI=
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Math-BigInt [...] hipster.bestpractical.com
X-RT-Mail-Extension: math-bigint
Date: Tue, 5 Jan 2016 09:48:10 -0800
X-Spam-Level:
To: bug-Math-BigInt [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-Pobox-Relay-ID: 7CBEE8C6-B3D4-11E5-AA51-6BD26AB36C07-76319746!pb-smtp0.pobox.com
From: "David E. Wheeler" <dwheeler [...] cpan.org>
RT-Message-ID: <rt-4.0.18-10682-1452016101-888.104450-0-0 [...] rt.cpan.org>
Content-Length: 231
Download (untitled) / with headers
text/plain 231b
On Jan 5, 2016, at 3:49 AM, Peter John Acklam via RT <bug-Math-BigInt@rt.cpan.org> wrote: Show quoted text
> This is not a bug, but rather a misunderstanding of the documentation.
Or perhaps an opportunity to clarify the documentation. ;-P David


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.