Skip Menu |

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

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

People
Owner: TELS [...] cpan.org
Requestors: derhoermi [...] gmx.net
Cc:
AdminCc:

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



Subject: Math::BigInt::bnok returns incorrect results
Date: Fri, 21 Nov 2008 03:44:42 +0100
To: bug-math-bigint [...] rt.cpan.org
From: Bjoern Hoehrmann <derhoermi [...] gmx.net>
Hi, % perl -MMath::BigInt -e "print Math::BigInt::bnok(8,7)" 1 but according to the documentation the return value should be n! 8! 8! 8! 8 * 7! -------- = --------- = ------- = -- = ------ = 8 k!(n-k)! 7!(8-7)! 7! * 1! 7! 7! The same happens when using the object method. regards, -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Fixed in version 1.90.