You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This (possibly accidental) feature has had tests since commit
58be576 and bug fixes such as commit 2cb5a7e. See also the
discussion in GH issues #16114 and #14791, particularly jhi's comment in
<#16114 (comment)>:
> Relatedly: I remember there being a known "loophole" so that the
> scanning code currently accidentally, falling naturally out of the
> implementation, is also doing "binary fp" and "octal fp". Ah yes:
>
> ./miniperl -wle 'print 0b11.1p0'
> 3.5
> ./miniperl -wle 'print 011.1p0'
> 9.125
>
> This is probably not documented anywhere. I can't now think of the
> right search terms to find any previous discussion, there was something
> about should this be rejected, or not. If not (as is currently the
> case), maybe this possibly should be tested, documented, and made
> official?
With the documentation in this patch and the existing tests, I guess the
feature is now official.
Fixes#18664.
0 commit comments