Re: [perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Timo Paulssen
This is because the implementation of infix:(Rat:D, Rat:D) is kind of bad: multi sub infix:(Rational:D \a, Rational:D \b) is default { a.Num cmp b.Num } We'll have to do a proper comparison of rats, rather than convert to Num which can give wrong results like this. On 23/02/17 04

Re: [perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Timo Paulssen
Actually, I was mistaken. The code i pointed at there already works for this very case. observe: 131338 timotimo │ m: say 4.999 cmp 5.0 131338 +camelia │ rakudo-moar 1811b8: OUTPUT: «Less␤» The real problem is this implementation of &infix:: multi sub infix:(Real:D \a,

[perl #130847] perl6 zef not working on windows 7

2017-02-23 Thread via RT
# New Ticket Created by Radek # Please include the string: [perl #130847] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130847 > I want to install perl6 modules. I installed Rakudo Star on windows 7. which perl6 C:/rakudo/bi

Re: [perl #123434] [SEGV] CounterMutexSingleton sample crashes

2017-02-23 Thread Ryan Bastic
Sounds good! Thanks. On Thu, Feb 23, 2017 at 12:21 PM, Timo Paulssen via RT < perl6-bugs-follo...@perl.org> wrote: > Now the exception also contains the error as reported by libuv: > > timo@schmand /tmp> perl6 CounterMutexSingleton.pl6 --num_threads=253 > Could not create a new Thread: to

Re: [perl #123434] [SEGV] CounterMutexSingleton sample crashes

2017-02-23 Thread Ryan Bastic
Indeed :) It was just a simple test case to demonstrate some things to ab5tract. Thanks for your work! On Thu, Feb 23, 2017 at 11:53 AM, Timo Paulssen via RT < perl6-bugs-follo...@perl.org> wrote: > Hi, > > we've put in an improved error message for when libuv refuses to create an > eventloop fo

Re: [perl #130847] perl6 zef not working on windows 7

2017-02-23 Thread Steve Mynott
Try "zef update" S On 23 February 2017 at 14:49, Radek wrote: > # New Ticket Created by Radek > # Please include the string: [perl #130847] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=130847 > > > > I want to install per

[perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Zoffix Znet via RT
On Wed, 22 Feb 2017 19:32:31 -0800, comdog wrote: > Here's a curious change over in precision: > > > 4.999 ~~ 0..^5 > True > > 4. ~~ 0..^5 > False > > I figure this is an implementation detail that ties to storage, but > one of the selling points of Per

Re: [perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Joachim Durchholz
Somewhat offtopic: toolforger: p6: say Inf cmp Inf camelia: rakudo-moar 320c2f: OUTPUT: «Same␤» I.e. Inf compares equal to itself - is this intentional?

Re: [perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Darren Duncan
On 2017-02-23 10:00 PM, Joachim Durchholz wrote: Somewhat offtopic: toolforger: p6: say Inf cmp Inf camelia: rakudo-moar 320c2f: OUTPUT: «Same␤» I.e. Inf compares equal to itself - is this intentional? Even if that isn't valid mathematically, for our purposes in a programming language, Inf i