-
Notifications
You must be signed in to change notification settings - Fork 571
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
B::Deparse.pm troublesome expression for infinity #14380
Comments
From @trompModule B::Deparse.pm uses 9**9**9 to denote infinity. This causes our Perl code, which happens to install a floating point Writing 1/0 instead of 9**9**9 avoids this problem, and would Could we have all uses of 9**9**9 replaced with 1/0 ? using /usr/local/products/perl/5.16.0/lib/4.16.0/B/Deparse.pm |
From @maukeAm 31.12.2014 um 03:14 schrieb John Tromp (via RT):
But 1/0 isn't infinity in Perl; it throws an exception. Maybe 0 + 'inf' -- |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Wed Dec 31 01:01:31 2014, plokinom@gmail.com wrote:
We could default to 0+'inf' (or 9**9**9) and make it configurable, just as we make '???' configurable. -- Father Chrysostomos |
Agreed; 0+'inf' is much less arbitrary, and therefore prefereable to 999. |
Migrated from rt.perl.org#123526 (status was 'open')
Searchable as RT123526$
The text was updated successfully, but these errors were encountered: