Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative exponents not parsed in radix literals #3688

Open
p6rt opened this issue Feb 17, 2015 · 4 comments
Open

Negative exponents not parsed in radix literals #3688

p6rt opened this issue Feb 17, 2015 · 4 comments
Labels
Bug

Comments

@p6rt
Copy link

@p6rt p6rt commented Feb 17, 2015

Migrated from rt.perl.org#123862 (status was 'open')

Searchable as RT123862$

@p6rt
Copy link
Author

@p6rt p6rt commented Feb 17, 2015

From @Mouq

GitHub user MARTIMM <mt1957@​gmail.com> submitted the following bug to the
Roast GitHub issues ( Raku/roast#53 )

Reading through s02 section Exponentials, I found a number representation

:10 which I tried in perl6.
Result is

:10<1*2**-64>
===SORRY!=== Error while compiling <unknown file>
Malformed radix number
at <unknown file>​:1
------> :10<1*2**-64>
expecting any of​:
number in radix notation

It is also not tested in 'S02-literals/radix.t lines 183–192'.

Version of perl;
This is perl6 version 2015.01-77-gd320f00 built on MoarVM version
2015.01-21-g4ee4925

@p6rt
Copy link
Author

@p6rt p6rt commented Mar 10, 2015

From @dwarring

On Tue Feb 17 11​:20​:39 2015, Mouq wrote​:

GitHub user MARTIMM <mt1957@​gmail.com> submitted the following bug to the
Roast GitHub issues ( Raku/roast#53 )

Reading through s02 section Exponentials, I found a number representation

:10 which I tried in perl6.
Result is

:10<1*2**-64>
===SORRY!=== Error while compiling <unknown file>
Malformed radix number
at <unknown file>​:1
------> :10<1*2**-64>
expecting any of​:
number in radix notation

It is also not tested in 'S02-literals/radix.t lines 183–192'.

Version of perl;
This is perl6 version 2015.01-77-gd320f00 built on MoarVM version
2015.01-21-g4ee4925

A fudge test has been added to S02-literals/radix.t

@p6rt
Copy link
Author

@p6rt p6rt commented Mar 10, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

@p6rt p6rt commented Dec 1, 2017

From @AlexDaniel

Still reproducible (2017.11, HEAD(5929887))

On 2015-03-10 14​:55​:48, david.warring wrote​:

On Tue Feb 17 11​:20​:39 2015, Mouq wrote​:

GitHub user MARTIMM <mt1957@​gmail.com> submitted the following bug to the
Roast GitHub issues ( Raku/roast#53 )

Reading through s02 section Exponentials, I found a number representation

:10 which I tried in perl6.
Result is

:10<1*2**-64>
===SORRY!=== Error while compiling <unknown file>
Malformed radix number
at <unknown file>​:1
------> :10<1*2**-64>
expecting any of​:
number in radix notation

It is also not tested in 'S02-literals/radix.t lines 183–192'.

Version of perl;
This is perl6 version 2015.01-77-gd320f00 built on MoarVM version
2015.01-21-g4ee4925

A fudge test has been added to S02-literals/radix.t

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.