Re: [perl #128817] [BUG] Num.perl doesn't round-trip numeric value [Request: ET-10405 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1549154 

[perl #128817] [BUG] Num.perl doesn't round-trip numeric value

2018-04-13 Thread Zoffix Znet via RT
On Tue, 02 Aug 2016 09:51:31 -0700, zef...@fysh.org wrote: > > (1180591620717411303424.0e0).Int > 1180591620717411303424 > > (1180591620717411303424.0e0).perl.EVAL.Int > 1180591620717409992704 > > The .perl.EVAL process ought to yield the same value we started with. > It's coming back as a

Re: [perl #128819] [BUG] Num.WHICH doesn't discriminate enough [Request: ET-9769 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544230 

Re: [perl #128819] [BUG] Num.WHICH doesn't discriminate enough [Request: ET-9768 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544229 

[perl #128819] [BUG] Num.WHICH doesn't discriminate enough

2018-04-13 Thread Zoffix Znet via RT
On Tue, 02 Aug 2016 10:44:50 -0700, zef...@fysh.org wrote: > > my $a = 1180591620717411303424e0 > 1.18059162071741e+21 > > my $b = 1180591620717409992704e0 > 1.18059162071741e+21 > > $a.Int > 1180591620717411303424 > > $b.Int > 1180591620717409992704 > > $a == $b > False > > $a === $b > False > >

[perl #128819] [BUG] Num.WHICH doesn't discriminate enough

2018-04-13 Thread Zoffix Znet via RT
On Tue, 02 Aug 2016 10:44:50 -0700, zef...@fysh.org wrote: > > my $a = 1180591620717411303424e0 > 1.18059162071741e+21 > > my $b = 1180591620717409992704e0 > 1.18059162071741e+21 > > $a.Int > 1180591620717411303424 > > $b.Int > 1180591620717409992704 > > $a == $b > False > > $a === $b > False > >

Re: [perl #128820] [BUG] == on Num literals produces bogus answer [Request: ET-9759 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544215 

Re: [perl #128820] [BUG] == on Num literals produces bogus answer [Request: ET-9760 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544216 

[perl #128820] [BUG] == on Num literals produces bogus answer

2018-04-13 Thread Zoffix Znet via RT
On Tue, 02 Aug 2016 10:55:34 -0700, zef...@fysh.org wrote: > > 1180591620717411303424e0 == 1180591620717409992704e0 > True > > 1180591620717411303424e0 === 1180591620717409992704e0 > True > > Say what? These are distinct Num values, differing by 10 ulp. > These literals work fine in other

[perl #128820] [BUG] == on Num literals produces bogus answer

2018-04-13 Thread Zoffix Znet via RT
On Tue, 02 Aug 2016 10:55:34 -0700, zef...@fysh.org wrote: > > 1180591620717411303424e0 == 1180591620717409992704e0 > True > > 1180591620717411303424e0 === 1180591620717409992704e0 > True > > Say what? These are distinct Num values, differing by 10 ulp. > These literals work fine in other

Re: [perl #128914] [BUG] decimal->float conversion differs for literals and Str.Num [Request: ET-9727 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544181 

[perl #128914] [BUG] decimal->float conversion differs for literals and Str.Num

2018-04-13 Thread Zoffix Znet via RT
On Fri, 12 Aug 2016 10:24:48 -0700, zef...@fysh.org wrote: > > "9.998e0".EVAL - "9.998e0".Num > 1.77635683940025e-15 > > Observe that the same string yields different Num values when interpreted > as a Num literal and when coerced. Where the string is meaningful both >

[perl #128914] [BUG] decimal->float conversion differs for literals and Str.Num

2018-04-13 Thread Zoffix Znet via RT
On Fri, 12 Aug 2016 10:24:48 -0700, zef...@fysh.org wrote: > > "9.998e0".EVAL - "9.998e0".Num > 1.77635683940025e-15 > > Observe that the same string yields different Num values when interpreted > as a Num literal and when coerced. Where the string is meaningful both >

Re: [perl #133107] LTA [Request: ET-9681 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544135 

Re: [perl #133107] LTA [Request: ET-9680 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544134 

[perl #133107] LTA: require of non installed module

2018-04-13 Thread Zoffix Znet via RT
On Thu, 12 Apr 2018 23:34:43 -0700, mar...@senfdax.de wrote: > requireing a non installed module leads to strange error if the name > starts with the name of a core module. e.g: > > > > perl6 -e 'require IO::Socket::Async::SSL' > IO::Socket::Async::SSL is a builtin type, not an external module

[perl #133107] LTA: require of non installed module

2018-04-13 Thread Zoffix Znet via RT
On Thu, 12 Apr 2018 23:34:43 -0700, mar...@senfdax.de wrote: > requireing a non installed module leads to strange error if the name > starts with the name of a core module. e.g: > > > > perl6 -e 'require IO::Socket::Async::SSL' > IO::Socket::Async::SSL is a builtin type, not an external module

Re: [perl #132329] [MATH] Rat → Num conversion isn’t monotonous [Request: ET-9599 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544053 

Re: [perl #132329] [MATH] Rat → Num conversion isn’t monotonous [Request: ET-9600 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544054 

[perl #132329] [MATH] Rat → Num conversion isn’t monotonous

2018-04-13 Thread Zoffix Znet via RT
On Fri, 20 Oct 2017 07:34:04 -0700, victor.a...@derpymail.org wrote: > How to reproduce > > > perl6 -e 'my ($a, $b) = (0.7, > 0.71); say $a <=> $b, " ", Num($a) <=> Num($b)' > > Expected behavior > - > > Prints `Less

[perl #132329] [MATH] Rat → Num conversion isn’t monotonous

2018-04-13 Thread Zoffix Znet via RT
On Fri, 20 Oct 2017 07:34:04 -0700, victor.a...@derpymail.org wrote: > How to reproduce > > > perl6 -e 'my ($a, $b) = (0.7, > 0.71); say $a <=> $b, " ", Num($a) <=> Num($b)' > > Expected behavior > - > > Prints `Less

Re: Re [Request: ET-9592 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544046 

Re: [perl #133107] LTA: require of non installed module

2018-04-13 Thread Elizabeth Mattijsen via RT
The problem is actually caused by the error reporting: https://github.com/rakudo/rakudo/blob/08b951c8f33cfc702c308e64efcb44f3ec725117/src/core/Exception.pm6#L2969 The only heuristic I’ve been able to find so far that the value of $ns{$_} suddenly is no longer fully qualified if the namespace

Re: [perl #133107] LTA: require of non installed module

2018-04-13 Thread Elizabeth Mattijsen
The problem is actually caused by the error reporting: https://github.com/rakudo/rakudo/blob/08b951c8f33cfc702c308e64efcb44f3ec725117/src/core/Exception.pm6#L2969 The only heuristic I’ve been able to find so far that the value of $ns{$_} suddenly is no longer fully qualified if the namespace

Re: [perl #128913] [BUG] decimal->float non-monotonic conversion [Request: ET-9576 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544030 

Re: [perl #128913] [BUG] decimal->float non-monotonic conversion [Request: ET-9577 is created]

2018-04-13 Thread dcu
  Thank you for your email request. Your request ID is I-1544031 

[perl #128913] [BUG] decimal->float non-monotonic conversion

2018-04-13 Thread Zoffix Znet via RT
On Fri, 12 Aug 2016 10:00:17 -0700, zef...@fysh.org wrote: > > "9.9981e0".EVAL < "9.998e0".EVAL > True > > Observe that the literal with a greater nominal value yields a lower > Num value. (The .EVAL circumlocution is required to work around [perl > #128820].) This

[perl #128913] [BUG] decimal->float non-monotonic conversion

2018-04-13 Thread Zoffix Znet via RT
On Fri, 12 Aug 2016 10:00:17 -0700, zef...@fysh.org wrote: > > "9.9981e0".EVAL < "9.998e0".EVAL > True > > Observe that the literal with a greater nominal value yields a lower > Num value. (The .EVAL circumlocution is required to work around [perl > #128820].) This

[perl #133107] LTA: require of non installed module

2018-04-13 Thread via RT
# New Ticket Created by Martin Barth # Please include the string: [perl #133107] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=133107 > requireing a non installed module leads to strange error if the name starts with the