Re: Results for Debian Project Leader 2026 Election

Kurt Roeckx <[email protected]>
Newsgroups gmane.linux.debian.devel.vote
Message-ID <[email protected]>
On Sun, Aug 16, 2026 at 04:57:43PM +0200, Kurt Roeckx wrote:
> On Sat, Apr 18, 2026 at 11:11:59AM +0200, Timo Röhling wrote:
> > Hi,
> > 
> > * Adrian Bunk <[email protected]> [2026-04-18 11:34]:
> > > On Sat, Apr 18, 2026 at 12:03:53AM +0000, [email protected] wrote:
> > > > ...
> > > > Option 1 passes Majority.               5.000 (289/50) >= 1
> > > > ...
> > > 
> > > The conclusion seems correct, but not the math.
> > 
> > This seems to be a bug with Math::BigInt in dvt-rslt. Compare:
> > 
> > $ perl -e 'use Math::BigInt ":constant"; print 1.0 * 289 / 50'
> > 5
> > 
> > $ perl -e 'use Math::BigInt; print 1.0 * 289 / 50'
> > 5.78
> 
> Does someone have a suggestion for how to fix this?

This seems to be working:
my $ratio = $Beat_Matrix[$i][$max_choices - 1]->copy()->bdiv($Beat_Matrix[$max_choices - 1][$i]);

Kurt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.