Skip Menu |
 

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

Report information
The Basics
Id: 111907
Status: resolved
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: keithsthompson [...] gmail.com
Cc:
AdminCc:

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



CC: Keith Thompson <Keith.S.Thompson [...] gmail.com>
MIME-Version: 1.0
X-Spam-Status: No, score=-2.698 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Spam-Flag: NO
X-Virus-Checked: Checked
Content-Type: multipart/alternative; boundary="001a113a6f50acde76052b5f570f"
Message-ID: <CAAHpriPQ6GbYkrr2sYmRbMV5ESnsxniu+yWxeZ6Fm-ogArNWwg [...] mail.gmail.com>
X-Received: by 10.140.171.215 with SMTP id r206mr26983774qhr.51.1455063376385; Tue, 09 Feb 2016 16:16:16 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.698
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6D8AB2403B9 for <cpan-bug+Math-BigInt [...] hipster.bestpractical.com>; Tue, 9 Feb 2016 19:16:24 -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 SFtyR+hScz+Z for <cpan-bug+Math-BigInt [...] hipster.bestpractical.com>; Tue, 9 Feb 2016 19:16:23 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id DCA0724039B for <bug-Math-BigInt [...] rt.cpan.org>; Tue, 9 Feb 2016 19:16:22 -0500 (EST)
Received: (qmail 22794 invoked by alias); 10 Feb 2016 00:16:22 -0000
Received: from mail-qg0-f45.google.com (HELO mail-qg0-f45.google.com) (209.85.192.45) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 09 Feb 2016 16:16:20 -0800
Received: by mail-qg0-f45.google.com with SMTP id b35so3036979qge.0 for <bug-Math-BigInt [...] rt.cpan.org>; Tue, 09 Feb 2016 16:16:19 -0800 (PST)
Received: by 10.55.49.68 with HTTP; Tue, 9 Feb 2016 16:16:16 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Math-BigInt [...] hipster.bestpractical.com
Subject: Small glitch in documentation
Return-Path: <keithsthompson [...] gmail.com>
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-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=T1Pyg5cFrv/2nOj32wDFnVb7Fif6tc8TZTEGqMvdFD4=; b=hPTmCFfSeYyN5E+bjd767t3/29XNWMIFaFJJIYsI2O+n7W5/Olx9LEvBW9a6RU2N9G AKM1xmBeDCzWTyQuSonLs/aZjlj1Cj4T/sW4pcQpMzVSYOn736y8J/fK4jGyb/H8ho/6 WeqeJ205WdUTukSRebYqUZizmD7BYb2XSEQQPyFxBCJrtxc2/9WuViA6+aFleAP/RURG itWtwViOk9FwEODxI18+X+1oZR8RQY94z39G0+vzJwENbNL3oIdwIo9AL9SPzpvaBbDq j7QRZCHKBU9FrYRrVAfULHpZUzdmTQauBoBv5+jsGF5at8uvg0lYyeRskFkuslfHhupi zf9g==
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=T1Pyg5cFrv/2nOj32wDFnVb7Fif6tc8TZTEGqMvdFD4=; b=DXuKwipc53WT1oiYYGv2uZfu4Lf9cnzrNvcqqVexFaN0PbNUe/sFaeAcExZaMlqkLH biHBQ4RnbaTfkVAwcTmz6k4vQ/X27XR53p2Kof7MiNraNiarWITBCpdYAJdjhEH1KRrn nbex7s0gHJgnDTfVtzBT/WaLn+OgcIfEouPIZ4b+rUsPkkRI++OL6ySYsUkiNmKJbulM 9JWM/+kcSsVy4iBVHf0Y8t6LgcGLWbGrYAgneKygonHPFXP9JoSnf6aXcdYucgvqy26M wTAphCHAGwZ3mdmT4VV9+gvzRtYdXmgsJk2pMOjUpJepk6rGGTwaE6E4oEHXJw7EmDin A6tA==
Date: Tue, 9 Feb 2016 16:16:16 -0800
X-Spam-Level:
To: bug-Math-BigInt [...] rt.cpan.org
From: Keith Thompson <keithsthompson [...] gmail.com>
X-GM-Message-State: AG10YORb7nlDMj4DLvAcCHCxhC5RcQfduFyxmMOHWS0uGiwDWAUOX2JOLaspB712rfbJ707YayuTGp7LiE1GGA==
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 754
Download (untitled) / with headers
text/plain 754b
The documentation for Math::BigInt has the following example: $x = Math::BigInt->new(12345678890123456789); # bad $x = Math::BigInt->new('12345678901234567890'); # good This is quite correct, but the example would be better if both lines used the same value. The "bad" example doubles the first 8 and is missing the trailing 0. And on a 64-bit system, 12345678901234567890 doesn't lose precision. I suggest adding more digits. I'm also tempted to suggest inserting a space after the "(" so the digits line up, but I'll leave that to your judgement. Corrected example: $x = Math::BigInt->new( 123456789012345678901234567890 ); # bad $x = Math::BigInt->new('123456789012345678901234567890'); # good -- Keith Thompson <Keith.S.Thompson@gmail.com>
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 16668
Download (untitled) / with headers
text/html 16.2k

Message body is not shown because it is too large.

MIME-Version: 1.0
In-Reply-To: <CAAHpriPQ6GbYkrr2sYmRbMV5ESnsxniu+yWxeZ6Fm-ogArNWwg [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAAHpriPQ6GbYkrr2sYmRbMV5ESnsxniu+yWxeZ6Fm-ogArNWwg [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-18973-1461424232-848.111907-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: 18
Fixed in v1.999718


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.